Skip to content

TapDragZoomHandler

A TapDragZoomHandler allows the user to zoom the map at a point by double tapping. It also allows the user pan the map by dragging.

Implements

Methods

isActive()

isActive(): boolean

This is used to indicate if the handler is currently active or not. In case a handler is active, it will block other handlers from getting the relevant events. There is an allow list of handlers that can be active at the same time, which is configured when adding a handler.

Returns

boolean

Implementation of

Handler.isActive

Defined in

src/ui/handler/tap_drag_zoom.ts:109


reset()

reset(): void

reset can be called by the manager at any time and must reset everything to it's original state

Returns

void

Implementation of

Handler.reset

Defined in

src/ui/handler/tap_drag_zoom.ts:28