The hover handler is to be used to emulate mouseovers on objects on the map that aren’t DOM elements. For example one can use this handler to send WMS/GetFeatureInfo requests as the user moves the mouve over the map.
OpenLayers. Handler. Hover | The hover handler is to be used to emulate mouseovers on objects on the map that aren’t DOM elements. |
Properties | |
delay | |
pixelTolerance | |
stopMove | |
Constructor | |
OpenLayers. Handler. Hover | Construct a hover handler. |
Functions | |
deactivate | Deactivate the handler. |
Construct a hover handler.
control | {OpenLayers.Control} The control that initialized this handler. The control is assumed to have a valid map property; that map is used in the handler’s own setMap method. |
callbacks | {Object} An object with keys corresponding to callbacks that will be called by the handler. The callbacks should expect to receive a single argument, the event. Callbacks for ‘move’, the mouse is moving, and ‘pause’, the mouse is pausing, are supported. |
options | {Object} An optional object whose properties will be set on the handler. |
Deactivate the handler.
deactivate: function()