Class: Draw

cercalia.Control.Draw

This control let you draw several shapes on the map.

new cercalia.Control.Draw()

Extends

Methods

disableDrawInteraction()

Disable the control

enableDrawInteraction(domElem, type)

Name Type Description
domElem Object
type string

getClass(){string} inherited

Returns:
class

getDialog(){jQuery}

Get menu dialog element

Returns:
jQueryElement

getElement(){HTMLElement} inherited

Obtain the control DOM element

Returns:
DOM Element

Returns the control name

Returns:
Control name

Hide the control

setTopBar(idTopBar)

Create the button in the tools topbar

Name Type Description
idTopBar string

Div element ID where the control will be embedded

Shows the control