unselectPOI

abstract fun unselectPOI(poi: PointOfInterest): Boolean

Unselects a Point of Interest (POI).

Return

true if the POI was successfully unselected (meaning it was previously selected), false otherwise.

Parameters

poi

The PointOfInterest to unselect.


abstract fun unselectPOI(id: Int): Boolean

Unselects a Point of Interest (POI) with the given ID.

Return

true if the POI was successfully unselected, false otherwise. A false return value might indicate that the POI with the given ID was not selected in the first place, or that an error occurred during the unselection process.

Parameters

id

The unique identifier of the POI to unselect.


abstract fun unselectPOI(): Boolean

Unselects the currently selected Point of Interest (POI).

This method should be used only when selectionMode is set to SelectionMode.SINGLE. Otherwise, it will unselect the last selected POI. If selectionMode is set to SelectionMode.MULTIPLE use unselectAllPOIs or unselect a specific POI instead.

Return

true if a POI was previously selected and successfully unselected, false if no POI was selected or if unselection failed.