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

GemView.resetMapSelection() method

Reset the map selection to the viewport center.

Moves the cursor screen position back to the center of the current viewport, clearing any previous custom cursor placement used for selection operations.

Signature:

resetMapSelection(): void;

Returns:

void

Exceptions

An exception if it fails.