类名 SketchStage

# new SketchStage(options)

草图图形集合

参数:

名称 类型 描述
options Object

构造参数

view MapView | SceneView

地图视图对象

layer GraphicsLayer

草图图层管对象

sketchStyle SketchStyle

草图符号

_hitTestEvent function

草图拾取事件

成员变量

# currentVertexIndex

当前顶点序号

# midVertexGraphics

草图中点实图形

# movingLineGraphics

草图正移动线图形

# selectBoxGraphics

选中草图时外包盒

# selectBoxVertexGraphics

选中草图时外包盒顶点

# snapGraphics

捕获时的图形

# vertexGraphics

草图顶点图形

方法

# clone()

克隆并返回新要素

克隆后的新要素

Feature

# toJSON()

导出一个JSON对像

JSON对像

Object
构造函数
成员变量
方法
事件