draw control of dynamic plotting
Name | Type | Description |
---|---|---|
scene |
Scene | Scene Object |
plottingLayer |
PlottingLayer | plotting layer |
Members
-
symbol code
-
readonlydrawControlEndEvent : Event
-
End Event of Drawing Control
-
readonlydrawFinishEvent : Event
-
End Event of Symbol Drawing
-
Symbol library encoding
-
plottingLayer : PlottingLayer
-
plotting layer
-
Plotting service URL
Methods
-
Activate the drawing control, set the LibID, Code and resource file paths of the symbol to be drawn, and activate
Name Type Description libId
Number Symbol library ID code
Number Symbol encoding Url
String resource path for model or image Example:
//Set to Draw Polyline and Activate the Drawing Control drawCtrl.activate(0,24);
-
Deactivate the draw control
-
Set the LibID, Code, and resource file paths for symbol to be drawn
Name Type Description libId
Number Symbol Library ID code
Number Symbol encoding Url
String resource path for model or image Example:
//Set to Draw Polyline drawCtrl.setAction(0,24); //Activate the Drawing Control drawCtrl.activate();
-
set plotting layer
Name Type Description layer
PlottingLayer plotting layer Returns:
Is the setting successful?