Class: Draw

cercalia.Control.Draw

This control let you draw several shapes on the map.

Extends

Methods

Disable the control

enableDrawInteraction(domElem, type)

Name Type Description
domElem Object
type string
Returns:
class

Get menu dialog element

Returns:
jQueryElement

Obtain the control DOM element

Returns:
DOM Element

Returns the control name

Returns:
Control name

Hide the control

Create the button in the tools topbar

Name Type Description
idTopBar string

Div element ID where the control will be embedded

Shows the control