PlotDrawControl

new Cesium.PlotDrawControl(scene, plottingLayer)

Dynamic plotting control
Name Type Description
scene Scene Scene object
plottingLayer PlottingLayer Plotting layer

Members

code : Number

Label code

drawControlEndEvent : Event

Plotting control end event

drawFinishEvent : Event

Label drawing end event

libID : Number

Label library coding

plottingLayer : PlottingLayer

Plotting layer

serverUrl : String

Plotting service url

Methods

activate()

Activate drawing controls

deactivate()

Deactivate drawing controls

setAction(libId, code)

Set the LibID and Code of the label to be drawn, and request service
Name Type Description
libId Number Label library coding
code Number Label coding

setPlottingLayer(layer)boolean

Set Plotting Layer
Name Type Description
layer PlottingLayer Plotting layer
Returns:
Whether the setting is successful