PlotDrawControl

new Cesium.PlotDrawControl(scene, plottingLayer)

动态标绘绘制控件
Name Type Description
scene Scene Scene对象
plottingLayer PlottingLayer 标绘图层

Members

code : Number

标号code

drawFinishEvent : Event

绘制结束事件

libID : Number

标号库编码

plottingLayer : PlottingLayer

标绘图层

serverUrl : String

标绘服务url

Methods

activate()

激活绘制控件

deactivate()

取消激活绘制控件

setPlottingLayer(layer)boolean

设置标绘图层
Name Type Description
layer PlottingLayer 标绘图层
Returns:
是否设置成功