new Control()
impl/ol/control/Control.js, line 15
Extends
- OLControl
Methods
-
addTo(map, template)
impl/ol/control/Control.js, line 35 -
This function adds the control to the specified map
Name Type Description map
M.Map to add the plugin
template
function template of this control
-
destroy()
impl/ol/control/Control.js, line 50 -
This function destroys this control, cleaning the HTML and unregistering all events
-
getElement()
impl/ol/control/Control.js, line 63 -
function remove the event 'click'