Class: KeyboardPan

Mapspace.interaction. KeyboardPan

Allows the user to zoom by double-clicking on the viewer.


new KeyboardPan( [opt_options])

Parameters:
Name Type Argument Description
opt_options olx.interaction.KeyboardPan <optional>

Options.

Source:
mapspace/interaction/keyboardpan.js

Extends

  • ol.interaction.KeyboardPan

Methods


<static> handleClick(mapBrowserEvent)

Handles the map browser event (if it was a doubleclick) and eventually zooms the map.

This:
Parameters:
Name Type Description
mapBrowserEvent ol.MapBrowserEvent

Map browser event.

Source:
mapspace/interaction/keyboardpan.js
Returns:

false to stop event propagation.

Type
boolean