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

GemView.cursorSelectionStreets() method

Retrieve the list of streets under the cursor location.

Use setCursorScreenPosition to set the cursor location.

Signature:

cursorSelectionStreets(): Landmark[];

Returns:

Landmark[]

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

Exceptions

An exception if it fails.