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

GemView.cursorSelectionMarkers() method

Retrieves a reference to a list of markers under the current cursor location.

Use setCursorScreenPosition to set the cursor location.

Signature:

cursorSelectionMarkers(): MarkerMatch[];

Returns:

MarkerMatch[]

A list of MarkerMatch objects under the cursor. If no markers are found, the list will be empty.

Exceptions

An exception if it fails.