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 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~targetNotEditable.

delta number <optional>
1

The zoom level delta on each key press.