# Module: ol/interaction/DragZoom

This documentation is for OpenLayers v10.9.0. The latest is v.

## ol/interaction/DragZoom

### Classes

DragZoom

### Type Definitions

#### Options{Object}

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `className` | string (defaults to 'ol-dragzoom') | CSS class name for styling the box.
  `condition` | Condition | undefined | A function that takes a `MapBrowserEvent` and returns a boolean to indicate whether that event should be handled. Default is `shiftKeyOnly`.
  `duration` | number (defaults to 200) | Animation duration in milliseconds.
  `out` | boolean (defaults to false) | Use interaction for zooming out.
  `minArea` | number (defaults to 64) | The minimum area of the box in pixel, this value is used by the parent default `boxEndCondition` function.