PolygonDrawer

任意多边形

new YS.PolygonDrawer(options)

任意多边形
Name Type Description
options Object 对象有下面这些属性:
Name Type Default Description
ys YouScene YouScene对象
id String optional 唯一标识
name String optional 名称
color Color optional 颜色
fill Boolean true optional 多边形是否填充
active Boolean optional 是否激活
Implements:

Methods

exportKml()

Returns:
Promise

getPositionss()Array.<Array.<XYZ>>

获取点集
Returns:
点集
Implements: