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

GemView.cursorSelectionLandmarks() method

Retrieve the list of landmarks under the cursor location.

Use setCursorScreenPosition to set the cursor location.

Signature:

cursorSelectionLandmarks(): Landmark[];

Returns:

Landmark[]

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

Exceptions

An exception if it fails.