Skip to content

TouchPanHandler

Defined in: src/ui/handler/touch_pan.ts:9

A TouchPanHandler allows the user to pan the map using touch gestures.

Implements

Methods

isActive()

isActive(): boolean

Defined in: src/ui/handler/touch_pan.ts:112

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


reset()

reset(): void

Defined in: src/ui/handler/touch_pan.ts:26

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