Classes
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 ismodule:ol/events/condition.noModifierKeys
andmodule:ol/events/condition.primaryAction
.onFocusOnly
boolean <optional>
false When the map's target has a
tabindex
attribute set, the interaction will only handle events when the map has the focus.kinetic
module:ol/Kinetic~Kinetic <optional>
Kinetic inertia to apply to the pan.