Class: PolyhedronObject

PolyhedronObject


new PolyhedronObject(sdk, options, _Dialog)

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

Methods


<static> create()

创建多边体

openRichTextEditor()

打开富文本框