Edit control of dynamic plotting
Name | Type | Description |
---|---|---|
scene |
Scene | the current scene |
plottingLayer |
PlottingLayer | plotting layer |
Members
-
editMode : PlotEditMode
-
Edit Mode of the Editing Control
-
Default Value:
PlotEditMode.PLOTSYMBOL
-
readonlyFeatureDoubleClickEvent : Event
-
Feature Double-Click Event
-
readonlyFeatureDragEvent : Event
-
Feature drag event
-
readonlyFeatureLeftClickEvent : Event
-
symbol click event
-
readonlyFeatureModifiedEvent : Event
-
symbol edited event
-
readonlyFeatureRemoveEvent : Event
-
remove symbol event
-
readonlyFeatureRightClickEvent : Event
-
Symbol Right-Click Event
-
readonlyFeatureSelectedEvent : Event
-
Symbol Selected Event
-
readonlyModifiedEvent : Event
-
Symbol Edited Event
-
pickRectangle : Cartesian2
-
Selection Tolerance Range of Rectangle Width and Height
-
Default Value:
{x:10,y:10}
-
plottingLayer : PlottingLayer
-
plotting layer
-
readonlyRemoveFeatureEvent : Event
-
Remove Symbol Event
-
readonlySceneLeftClickEvent : Event
-
Map Left-Click Event
-
readonlySceneRightClickEvent : Event
-
Map Right-Click Event
-
readonlySelectedEvent : Event
-
Symbol Selected Event
-
readonlyUnSelectedEvent : Event
-
abel Released Event
Methods
-
Activate edit control
-
Clear copied or cut symbols
-
Copy selected symbols
-
Cut selected symbols
-
Deactivate edit control
-
Handle LabeSymboll Selection (Draw Selection Box and Control Points, Initialize Editing Control Properties)
Name Type Description geoEdit
Symbols to be selected -
Check if the Editing Control is Activated
Returns:
Is the edit control active? -
Paste Selected Symbols to a Specified Position (If the Specified Position is NULL, Paste to the Original Position)
Name Type Description position
Specified Position -
pickRect(leftTopPoint, rightBottomPoint) → Array.<GeoGraphicObject>
-
box selection
Name Type Description leftTopPoint
Cartesian2 Box selection Start point (pixels) rightBottomPoint
Cartesian2 Box selection End point (pixels) Returns:
array of selected objects -
set plotting layer
Name Type Description layer
PlottingLayer plotting layer Returns:
Is the setting successful? -
Release the selected symbol
Name Type Default Description isRaiseEvent
boolean false
optional Whether to Send Event(s)