IPointOfInterestManager

Properties

Link copied to clipboard

Indicates whether user interaction for selection is enabled.

Link copied to clipboard

Determines how POIs can be selected. See SelectionMode for possible values.

Functions

Link copied to clipboard

Registers a listener for PointOfInterest manager updates.

Link copied to clipboard
abstract fun filterByTag(tag: String): Boolean

Filters POIs based on the presence of a specific tag.

Link copied to clipboard
abstract fun getPOIs(): Set<PointOfInterest>

Retrieves a set of all available Points of Interest (POIs).

Link copied to clipboard

Retrieves the currently selected Point of Interest (POI).

Link copied to clipboard

Retrieves the set of currently selected Points of Interest (POIs).

Link copied to clipboard
abstract fun hideAllPOIs(): Boolean

Hides all Points of Interest (POIs).

Link copied to clipboard
abstract fun hidePOI(poi: PointOfInterest): Boolean

Hides a Point of Interest (POI).

abstract fun hidePOI(id: Int): Boolean

Hides the Point of Interest (POI) with the given ID.

Link copied to clipboard
abstract fun hidePOIs(pois: Set<PointOfInterest>): Boolean

Hides the specified Points of Interest (POIs).

Link copied to clipboard
abstract fun removeFilters(): Boolean

Removes all active filters.

Link copied to clipboard

Removes the listener added via addListener.

Link copied to clipboard
abstract fun showAllPOIs(): Boolean

Shows all Points of Interest (POIs).

Link copied to clipboard
abstract fun showPOI(poi: PointOfInterest): Boolean

Shows a Point of Interest (POI).

abstract fun showPOI(id: Int): Boolean

Shows the Point of Interest (POI) with the given ID.

Link copied to clipboard
abstract fun showPOIs(pois: Set<PointOfInterest>): Boolean

Shows a set of Points of Interest (POIs).

Link copied to clipboard
abstract fun sortPOIsByDuration(origin: Coordinate, pois: List<PointOfInterest> = getPOIs().toList()): Single<List<PointOfInterestWithInfo>>

Sorts a list of Points of Interest (POIs) by their estimated travel duration from a given origin.

Link copied to clipboard
abstract fun sortPOIsByGraphDistance(origin: Coordinate, pois: List<PointOfInterest> = getPOIs().toList()): Single<List<PointOfInterestWithInfo>>

Sorts a list of Points of Interest (POIs) by their graph distance from a given origin coordinate.

Link copied to clipboard
abstract fun unselectAllPOIs(): Boolean

Unselects all Points of Interest (POIs) currently selected.

Link copied to clipboard
abstract fun unselectPOI(): Boolean

Unselects the currently selected Point of Interest (POI).

abstract fun unselectPOI(poi: PointOfInterest): Boolean

Unselects a Point of Interest (POI).

abstract fun unselectPOI(id: Int): Boolean

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