new DragBox(opt_options)
| Name | Type | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Options.
|
|||||||||||||||||||||||||
Fires:
-
boxdrag(module:ol/interaction/DragBox~DragBoxEvent) - Triggered on drag when box is active. -
boxend(module:ol/interaction/DragBox~DragBoxEvent) - Triggered upon drag box end. -
boxstart(module:ol/interaction/DragBox~DragBoxEvent) - Triggered upon drag box start.
Methods
-
Returns geometry of last drawn box.
Returns:
Geometry.
OpenLayers