Module: ol/interaction/KeyboardZoom

ol/interaction/KeyboardZoom


Classes

KeyboardZoom

Type Definitions

Options{Object}

Properties:
Name Type Argument Default Description
duration number <optional>
100

Animation duration in milliseconds.

condition Condition <optional>

A function that takes an MapBrowserEvent and returns a boolean to indicate whether that event should be handled. Default is targetNotEditable.

delta number <optional>
1

The zoom level delta on each key press.