new DragZoom(opt_options)
Name | Type | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Options.
|
Fires:
-
DragBoxEvent
-
change
(module:ol/events/Event~Event) - Generic change event. Triggered when the revision counter is increased. -
change:active
(module:ol/Object.ObjectEvent) -
propertychange
(module:ol/Object.ObjectEvent) - Triggered when a property is changed.
Extends
Observable Properties
Name | Type | Settable | ol/Object.ObjectEvent type | Description |
---|---|---|---|---|
active |
boolean | yes | change:active |
|
Methods
-
Returns geometry of last drawn box.
Returns:
Geometry.
-
Handles the
map browser event
and may call into other functions, if event sequences like e.g. 'drag' or 'down-up' etc. are detected.