new Location()
impl/ol/control/Location.js, line 28
Extends
- M.impl.Control
Members
-
module:M/impl/control/Location~Location.POSITION_STYLE{ol.style.Style}
-
Style for location
-
module:M/impl/control/Location~Location.ZOOM{number}
-
Zoom Location
Methods
-
activate()
impl/ol/control/Location.js, line 74 -
This function paints a point on the map with your location
-
deactivate()
impl/ol/control/Location.js, line 134 -
This function remove the drawn location and restores the style button
-
destroy()
impl/ol/control/Location.js, line 156 -
This function destroys this control and cleaning the HTML