Module: ol/interaction/KeyboardPan

ol/interaction/KeyboardPan


Classes

KeyboardPan

Type Definitions

Options{Object}

Properties:
Name Type Description
condition Condition | undefined

A function that takes an MapBrowserEvent and returns a boolean to indicate whether that event should be handled. Default is noModifierKeys and targetNotEditable.

duration number
(defaults to 100)

Animation duration in milliseconds.

pixelDelta number
(defaults to 128)

The amount of pixels to pan on each key press.