Module: ol/interaction/KeyboardPan

ol/interaction/KeyboardPan


Classes

KeyboardPan

Type Definitions

Options{Object}

Properties:
Name Type Argument Default Description
condition module:ol/events/condition~Condition <optional>

A function that takes an module:ol/MapBrowserEvent~MapBrowserEvent and returns a boolean to indicate whether that event should be handled. Default is module:ol/events/condition.noModifierKeys and module:ol/events/condition.targetNotEditable.

duration number <optional>
100

Animation duration in milliseconds.

pixelDelta number <optional>
128

The amount of pixels to pan on each key press.