Classes
Type Definitions
-
Options{Object}
-
Properties:
Name Type Description condition
Condition | undefined A function that takes a
MapBrowserEvent
and returns a boolean to indicate whether that event should be handled. Default isnoModifierKeys
andprimaryAction
.onFocusOnly
boolean
(defaults to false)When the map's target has a
tabindex
attribute set, the interaction will only handle events when the map has the focus.kinetic
Kinetic | undefined Kinetic inertia to apply to the pan.