new DoubleClickZoom(opt_options)
interaction/DoubleClickZoom.js, line 20
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Options.
|
|||||||||||||
Fires:
-
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
-
Return whether the interaction is currently active.
Returns:
trueif the interaction is active,falseotherwise.
-
Get the map associated with this interaction.
Returns:
Map.
-
Handles the
map browser event.Name Type Description mapBrowserEventmodule:ol/MapBrowserEvent~MapBrowserEvent Map browser event.
Returns:
falseto stop event propagation.
-
Activate or deactivate the interaction.
Name Type Description activeboolean Active.
OpenLayers