new ScaleLine()
impl/ol/control/ScaleLine.js, line 36
Extends
- ol.control.Control
Methods
-
addTo(map, template)
impl/ol/control/ScaleLine.js, line 53 -
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/ScaleLine.js, line 81 -
This function destroys this control, cleaning the HTML and unregistering all events
-
getElement()
impl/ol/control/ScaleLine.js, line 68 -
TODO