new MouseWheelZoom( [opt_options])
Parameters:
| Name | Type | Argument | Description |
|---|---|---|---|
opt_options |
olx.interaction.MouseWheelZoomOptions |
<optional> |
Options. |
- Source:
- mapspace/interaction/mousewheelzoom.js
Extends
- ol.interaction.MouseWheelZoom
Methods
-
<static> handleClick(mapBrowserEvent)
-
Handles the
map browser event(if it was a mousewheel-event) and eventually zooms the viewer.This:
Parameters:
Name Type Description mapBrowserEventol.MapBrowserEvent Map browser event.
- Source:
- mapspace/interaction/mousewheelzoom.js
Returns:
Allow event propagation.
- Type
- boolean