ol/interaction/KeyboardPan
Classes
- KeyboardPan
Type Definitions
-
Options{Object}
-
Properties:
Name Type Description conditionCondition | undefined A function that takes a
MapBrowserEventand returns a boolean to indicate whether that event should be handled. Default isnoModifierKeysandtargetNotEditable.durationnumber
(defaults to 100)Animation duration in milliseconds.
pixelDeltanumber
(defaults to 128)The amount of pixels to pan on each key press.
© 2005-present, OpenLayers Contributors All rights reserved.Licensed under the BSD 2-Clause License.
https://openlayers.org/en/latest/apidoc/module-ol_interaction_KeyboardPan.html