Home > @magiclane/maps-sdk > GemView > registerTouchPinchCallback

GemView.registerTouchPinchCallback() method

Register a callback for touch-pinch gesture events.

Signature:

registerTouchPinchCallback(touchPinchCallback: TouchPinchCallback | null): void;

Parameters

Parameter

Type

Description

touchPinchCallback

TouchPinchCallback | null

Callback invoked when a touch-pinch gesture is detected. Pass null to unregister.

Returns:

void