Mouse


import Mouse from '';

Main constructor of the class. Creates a WMC selector control

new Mouse(vendorOptions)

impl/ol/ext/OLMouse.js, line 19
Name Type Description
vendorOptions Object

vendor options for the base library

Extends

  • ol.control.Control

Methods

destroy()

impl/ol/ext/OLMouse.js, line 49

This function destroys this control, cleaning the HTML and unregistering all events

getElement()

impl/ol/ext/OLMouse.js, line 37

function remove the event 'click'