PlotEditControl

new Cesium.PlotEditControl(scene, plottingLayer)

Plotting Editorial
Name Type Description
scene Scene Current scene
plottingLayer PlottingLayer Plotting layer

Members

readonlyModifiedEvent : Event

Label edited event

plottingLayer : PlottingLayer

Plotting layer

readonlySelectedEvent : Event

Label selected event

readonlyUnSelectedEvent : Event

Label released event

Methods

activate()

Activate edit control

clearCopyOrCut()

Clear the copied or cut label

copy()

Copy selected label

cut()

Cut selected label

deactivate()

Deactivate the edit control

isActive()Boolean

Determine whether the edit control is activated
Returns:
Whether the edit control is activated

paste(position)

Paste the selected label to the designated position (when the designated position is NULL, paste to the original position)
Name Type Description
position Designated location

setPlottingLayer(layer)boolean

Set plotting layer
Name Type Description
layer PlottingLayer Plotting layer
Returns:
Settings successful or not.