id |
string
|
|
唯一标识 |
show |
boolean
|
true
|
显示/隐藏 |
name |
string
|
|
名称 |
angle |
number
|
0
|
旋转角度 |
scale |
object
|
|
比例
Properties
| Name |
Type |
Default |
Description |
x |
number
|
1
|
x轴比例 |
y |
number
|
1
|
y轴比例 |
|
url |
string
|
|
资源地址 |
flipe |
object
|
|
翻转
Properties
| Name |
Type |
Default |
Description |
x |
boolean
|
false
|
绕X轴翻转 |
y |
boolean
|
false
|
绕Y轴翻转 |
|
position |
Array.<object>
|
|
位置
Properties
| Name |
Type |
Description |
lng |
number
|
经度 |
lat |
number
|
纬度 |
|
color |
string
|
|
颜色 |
text |
object
|
|
文字
Properties
| Name |
Type |
Default |
Description |
show |
boolean
|
true
|
文字 |
position.lng |
number
|
|
经度 |
position.lat |
number
|
|
纬度 |
position.alt |
number
|
|
高度 |
fontSize |
number
|
20
|
字体大小 |
color |
string
|
#ffffff
|
字体大小 |
scaleByDistance |
boolean
|
|
距离缩放 |
near |
number
|
2000
|
视野缩放最近距离 |
far |
number
|
100000
|
视野缩放最远距离 |
|
attribute |
object
|
|
属性内容
Properties
| Name |
Type |
Default |
Description |
link |
object
|
{}
|
链接
Properties
| Name |
Type |
Default |
Description |
content |
array
|
[]
|
链接内容 |
content[].name |
string
|
|
链接名称 |
content[].url |
string
|
|
链接地址 |
|
|
richTextContent |
string
|
|
富文本内容 |
customView |
object
|
|
默认视角
Properties
| Name |
Type |
Description |
orientation |
object
|
默认视角方位
Properties
| Name |
Type |
Description |
heading |
number
|
航向角 |
pitch |
number
|
俯仰角 |
roll |
number
|
翻滚角 |
|
relativePosition |
object
|
视角相对位置
Properties
| Name |
Type |
Description |
lng |
number
|
经度 |
lat |
number
|
纬度 |
alt |
number
|
高度 |
|
|