new Mouse()
impl/ol/control/Mouse.js, line 14
Methods
-
addTo(map, html)
impl/ol/control/Mouse.js, line 66 -
This function adds the control to the specified map
Name Type Description map
M.Map to add the plugin
html
HTMLElement of the plugin
-
destroy()
impl/ol/control/Mouse.js, line 91 -
This function destroys this control, cleaning the HTML and unregistering all events