Home > @magiclane/maps-sdk > GemView > registerCursorSelectionUpdatedLandmarksCallback
GemView.registerCursorSelectionUpdatedLandmarksCallback() method
Register a callback for cursor selection landmark updates.
Signature:
registerCursorSelectionUpdatedLandmarksCallback(cursorSelectionLandmarksCallback: CursorSelectionCallback<Array<Landmark>> | null): void;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
cursorSelectionLandmarksCallback |
CursorSelectionCallback<Array<Landmark>> | null |
Callback invoked when selected landmarks at cursor position change. Pass null to unregister. |
Returns:
void