Classes
Type Definitions
-
Options{Object}
-
Properties:
Name Type Argument Default Description classNamestring <optional>
'ol-dragzoom' CSS class name for styling the box.
conditionCondition <optional>
A function that takes an
MapBrowserEventand returns a boolean to indicate whether that event should be handled. Default isshiftKeyOnly.durationnumber <optional>
200 Animation duration in milliseconds.
outboolean <optional>
false Use interaction for zooming out.
minAreanumber <optional>
64 The minimum area of the box in pixel, this value is used by the parent default
boxEndConditionfunction.