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 mapBrowserEvent
ol.MapBrowserEvent Map browser event.
- Source:
- mapspace/interaction/doubleclickzoom.js
Returns:
false
to stop event propagation.- Type
- boolean