Module: ol/interaction/DragPan

ol/interaction/DragPan


Classes

DragPan

Type Definitions

Options{Object}

Properties:
Name Type Argument 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~primaryAction. In addition, if there is a tabindex attribute on the map element, module:ol/events/condition~focus will also be applied.

kinetic module:ol/Kinetic~Kinetic <optional>

Kinetic inertia to apply to the pan.