options |
object
|
模型参数
Properties
Name |
Type |
Default |
Description |
id |
string
|
|
对象id |
show |
boolean
|
true
|
模型显隐 |
name |
string
|
|
名称 |
url |
string
|
|
资源地址 |
positions |
Array.<object>
|
|
坐标数组 [{lng,lat,alt},...] |
height |
number
|
|
高程,为空时取坐标中最低高程 |
type |
number
|
0
|
类型 0:点;1:线;2:多边形;3:矩形 |
interval |
number
|
1
|
间隔(米),type=0时不生效 |
quantity |
object
|
|
数量,type=3时生效
Properties
Name |
Type |
Description |
x |
number
|
x轴方向数量,type=3时生效 |
y |
number
|
y轴方向数量,type=3时生效 |
|
scale |
number
|
1
|
比例 |
maximumScale |
number
|
100
|
最大比例 |
minimumPixelSize |
number
|
60
|
最小像素 |
scaleByDistance |
boolean
|
true
|
随视野缩放 |
rotate |
object
|
|
旋转角度
Properties
Name |
Type |
Description |
x |
number
|
x轴旋转度数 |
y |
number
|
y轴旋转度数 |
z |
number
|
z轴旋转度数 |
|
|