opt |
Object
|
Cesium锚点参数
Properties
| Name |
Type |
Argument |
Default |
Description |
originPosition |
Object
|
|
|
锚点位置 对象内属性lon,lat,height
Properties
| Name |
Type |
Description |
lon |
Number
|
经度 |
lat |
Number
|
纬度 |
height |
Number
|
高度 |
|
billboard |
Object
|
|
|
锚点图片
Properties
| Name |
Type |
Description |
imageUrl |
String
|
锚点图片URL |
width |
Number
|
锚点图片宽度 |
height |
Number
|
锚点图片高度 |
scale |
Number
|
锚点图片比例 |
|
label |
Object
|
|
|
文字标签
Properties
| Name |
Type |
Argument |
Default |
Description |
text |
String
|
|
|
文字标签内容 |
font |
String
|
|
|
字体;'12pt Microsoft YaHei', |
fillColor |
String
|
|
|
字体颜色 |
outlineWidth |
Number
|
|
|
描边宽度 |
outlineColor |
String
|
|
|
描边颜色 |
pixelOffsetX |
Number
|
|
|
偏移量 x |
pixelOffsetY |
Number
|
|
|
偏移量 y |
showBackground |
Boolean
|
<optional>
|
false
|
是否使用背景色 |
backgroundColor |
String
|
|
|
背景色,默认为白色 |
backgroundPaddingX |
Number
|
<optional>
|
0
|
背景padding的X |
backgroundPaddingY |
Number
|
<optional>
|
0
|
背景padding的Y |
|
disableDepthTestDistance |
Number
|
|
|
相机离图形的距离大于该值则开启深度检测(单位米) |
enableMouseMove |
Boolean
|
<optional>
|
false
|
是否启用鼠标移动。 |
|