Classes
Type Definitions
-
Options{Object}
-
Properties:
Name Type Argument Default Description className
string <optional>
'ol-dragzoom' CSS class name for styling the box.
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~shiftKeyOnly
.duration
number <optional>
200 Animation duration in milliseconds.
out
boolean <optional>
false Use interaction for zooming out.