Class: MouseWheelZoom

Mapspace.interaction. MouseWheelZoom

Allows the user to zoom the viewer by scrolling the mouse wheel.


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
mapBrowserEvent ol.MapBrowserEvent

Map browser event.

Source:
mapspace/interaction/mousewheelzoom.js
Returns:

Allow event propagation.

Type
boolean