Legato.Handler.MouseWheel

Handler for wheel up/down events

Extension to OpenLayers

Functionality to detect mousewheel-interaction on the map-div itself

Inherits from

  • <OpenLayers.Handler.MouseWheel>
Summary
Legato.Handler.MouseWheelHandler for wheel up/down events
Properties
interval{Integer} In order to increase server performance, an interval (in milliseconds) can be set to reduce the number of up/down events called.
Functions
Legato.Handler.MouseWheel
onWheelEventCatch the wheel event and handle it xbrowserly

Properties

interval

{Integer} In order to increase server performance, an interval (in milliseconds) can be set to reduce the number of up/down events called.  If set, a new up/down event will not be set until the interval has passed.  Defaults to 0, meaning no interval.

Functions

Legato.Handler.MouseWheel

Parameters

control{<OpenLayers.Control>}
callbacks{Object} An object containing a single function to be called when the drag operation is finished.  The callback should expect to recieve a single argument, the point geometry.
options{Object}

onWheelEvent

onWheelEvent: function(e)

Catch the wheel event and handle it xbrowserly

Parameters

e{Event}
onWheelEvent: function(e)
Catch the wheel event and handle it xbrowserly