For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Class DoubleClickZoomHandler
Constructors
constructor
-
new DoubleClickZoomHandler(
clickZoom: ClickZoomHandler,
TapZoom: TapZoomHandler,
): DoubleClickZoomHandlerParameters
- clickZoom: ClickZoomHandler
- TapZoom: TapZoomHandler
Returns DoubleClickZoomHandler
Methods
disable
enable
isActive
-
Returns a Boolean indicating whether the "double click to zoom" interaction is active, i.e. currently being used.
Returns boolean
trueif the "double click to zoom" interaction is active.
isEnabled
-
Returns a Boolean indicating whether the "double click to zoom" interaction is enabled.
Returns boolean
trueif the "double click to zoom" interaction is enabled.
The
DoubleClickZoomHandlerallows the user to zoom the map at a point by double clicking or double tapping.