Home > @magiclane/maps-sdk > GemView > registerTouchCallback
GemView.registerTouchCallback() method
Register a touch callback.
Signature:
registerTouchCallback(touchCallback?: (pos: Point) => void): void;Parameters
Parameter | Type | Description |
|---|---|---|
touchCallback | (pos: Point) => void | (Optional) The touch callback to register. |
Returns:
void