Namespace: Draw

Tools. Draw

Tool to create drawings and texts on the map.

Classes

DrawTool
DrawToolView

Members

staticTools.Draw.DrawTemplate

Template used to create the draw tool.

Events

RadioRequestDrawDownloadWithoutGUI

devtools/jsdoc/events.js, line 2356
Returns download features without using the download gui.
Name Type Description
obj Object Params for download without gui.
Name Type Description
geomType String Geometry type of features.
transformWGS Boolean Flag if features should be transformed.
Listeners of This Event:
Returns:
The Features as string.
Example
Radio.request("Draw", "downloadWithoutGUI", obj);

RadioRequestDrawGetLayer

devtools/jsdoc/events.js, line 2349
Returns the draw layer
Listeners of This Event:
Returns:
The draw layer.
Example
Radio.request("Draw", "getLayer");

RadioTriggerCancelDrawWithoutGUI

devtools/jsdoc/events.js, line 2386
Deletes all drawn features.
Name Type Description
cursor String Cursor.
Listeners of This Event:
Example
Radio.trigger("Draw", "cancelDrawWithoutGUI", cursor);

RadioTriggerDeleteAllFeatures

devtools/jsdoc/events.js, line 2380
Deletes all drawn features.
Listeners of This Event:
Example
Radio.trigger("Draw", "deleteAllFeatures");

RadioTriggerDownloadViaRemoteInterface

devtools/jsdoc/events.js, line 2393
Deletes all drawn features.
Name Type Description
geomType String Type of geometry.
Listeners of This Event:
Example
Radio.trigger("Draw", "downloadViaRemoteInterface", geomType);

RadioTriggerDrawInitWithoutGUI

devtools/jsdoc/events.js, line 2366
Initializes the Draw tool to perform download without the download gui.
Name Type Description
obj Object Params for init without gui.
Name Type Default Description
drawType String Draw type of features. Possible values are "Point", "LineString", "Polygon", "Circle".
color String "55, 126, 184" Color as rgb string.
opacity Number 1.0 Opacity.
maxFeatures Number maximum of Features.
initialJSON String Features to be Drawn on the layer.
transformWGS Boolean Flag if features should be transformed.
zoomToExtent Boolean Flag if map should be zoomed to extent.
Listeners of This Event:
Example
Radio.trigger("Draw", "initWithoutGUI", obj);