Class: PolylineObject

PolylineObject


new PolylineObject(sdk, options, _Dialog)

折线
Parameters:
Name Type Description
sdk
options object 线属性
Properties
Name Type Default Description
name string 名称
width number 5 线宽
color string #0df89e 颜色
type number 0 材质类型
positions Array.<object> 坐标数组 [{lon,lat},...]
_Dialog object 弹框事件
Properties
Name Type Description
confirmCallBack function 弹框确认时的回调

Methods


<async> edit(state)

编辑框
Parameters:
Name Type Description
state boolean true打开,false关闭

<async> flyTo()

飞到

openRichTextEditor()

打开富文本框

<async> remove()

删除