Tool to create drawings and texts on the map.
Classes
Members
-
staticTools.Draw.DrawTemplate
-
Template used to create the draw tool.
Events
-
RadioRequestDrawDownloadWithoutGUI
devtools/jsdoc/events.js, line 2350 -
Returns download features without using the download gui.
Name Type Description objObject Params for download without gui. Name Type Description geomTypeString Geometry type of features. transformWGSBoolean 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 2343 -
Returns the draw layer
Listeners of This Event:
Returns:
The draw layer.
Example
Radio.request("Draw", "getLayer"); -
RadioTriggerCancelDrawWithoutGUI
devtools/jsdoc/events.js, line 2380 -
Deletes all drawn features.
Name Type Description cursorString Cursor. Listeners of This Event:
Example
Radio.trigger("Draw", "cancelDrawWithoutGUI", cursor); -
RadioTriggerDeleteAllFeatures
devtools/jsdoc/events.js, line 2374 -
Deletes all drawn features.
Listeners of This Event:
Example
Radio.trigger("Draw", "deleteAllFeatures"); -
RadioTriggerDownloadViaRemoteInterface
devtools/jsdoc/events.js, line 2387 -
Deletes all drawn features.
Name Type Description geomTypeString Type of geometry. Listeners of This Event:
Example
Radio.trigger("Draw", "downloadViaRemoteInterface", geomType); -
RadioTriggerDrawInitWithoutGUI
devtools/jsdoc/events.js, line 2360 -
Initializes the Draw tool to perform download without the download gui.
Name Type Description objObject Params for init without gui. Name Type Default Description drawTypeString Draw type of features. Possible values are "Point", "LineString", "Polygon", "Circle". colorString "55, 126, 184" Color as rgb string. opacityNumber 1.0 Opacity. maxFeaturesNumber maximum of Features. initialJSONString Features to be Drawn on the layer. transformWGSBoolean Flag if features should be transformed. zoomToExtentBoolean Flag if map should be zoomed to extent. Listeners of This Event:
Example
Radio.trigger("Draw", "initWithoutGUI", obj);