new DoubleClickZoom( [opt_options])
Parameters:
| Name | Type | Argument | Description |
|---|---|---|---|
opt_options |
olx.interaction.DoubleClickZoomOptions |
<optional> |
Options. |
- Source:
- mapspace/interaction/doubleclickzoom.js
Extends
- ol.interaction.DoubleClickZoom
Methods
-
<static> handleClick(mapBrowserEvent)
-
Handles the
map browser event(if it was a doubleclick) and eventually zooms the map.This:
Parameters:
Name Type Description mapBrowserEventol.MapBrowserEvent Map browser event.
- Source:
- mapspace/interaction/doubleclickzoom.js
Returns:
falseto stop event propagation.- Type
- boolean