sdk |
|
|
options |
object
|
Properties
| Name |
Type |
Default |
Description |
id |
string
|
|
唯一标识 |
text |
string
|
|
文字 |
color |
string
|
"#FFC107"
|
颜色 |
speed |
number
|
1
|
文字移动速度 |
|
positions |
Array.<object>
|
经纬度和高度的列表,值交替 [{lon,lat,alt},...] |
options.positions[].lng |
number
|
经度 |
options.positions[].lat |
number
|
纬度 |
options.positions[].alt |
number
|
高度 |
options.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
|
高度 |
|
|