Class: PolygonObject

PolygonObject


new PolygonObject(sdk, options, _Dialog)

贴地图片
Parameters:
Name Type Description
sdk
options object 属性
Properties
Name Type Default Description
show boolean true 显示/隐藏
name string 名称
angle number 0 旋转角度
scale number 1 比例
positions Array.<object> 经纬度和高度的列表,值交替 [{lon,lat,alt},...]
_Dialog object 弹框事件
Properties
Name Type Description
confirmCallBack function 弹框确认时的回调

Methods


<async> flyTo()

飞到

<async> flyTo()

飞到

<async> remove()

删除

openRichTextEditor()

打开富文本框

Class: PolygonObject

PolygonObject


new PolygonObject(sdk, options, _Dialog)

多边形
Parameters:
Name Type Description
sdk
options object 属性
Properties
Name Type Default Description
show boolean true 显示/隐藏
name string 名称
color string "#36c4ff" 颜色
height number
positions Array.<object> 经纬度和高度的列表,值交替 [{lon,lat,alt},...]
_Dialog object 弹框事件
Properties
Name Type Description
confirmCallBack function 弹框确认时的回调

Methods


<async> flyTo()

飞到

<async> flyTo()

飞到

<async> remove()

删除

openRichTextEditor()

打开富文本框