MapPointOfInterestManager

Manages Points of Interest displayed on the map.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract val touchedPois: Flow<PointOfInterest>

Functions

Link copied to clipboard
abstract fun addPoi(poi: PointOfInterest): Boolean
Link copied to clipboard
abstract fun addPois(pois: Set<PointOfInterest>): Boolean
Link copied to clipboard
abstract fun centerToPoi(poi: PointOfInterest, animated: Boolean = true, zoom: Double = defaultZoom): Boolean
abstract fun centerToPoi(id: Int, animated: Boolean = true, zoom: Double = defaultZoom): Boolean

Centers the map view to a specific Point of Interest (POI).

Link copied to clipboard
abstract fun filterByTag(tag: String): Boolean
Link copied to clipboard
abstract fun filterByTags(tags: Collection<String>, matchMode: TagMatchMode): Boolean
Link copied to clipboard
abstract fun getPois(): Set<PointOfInterest>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun hideAllPois(): Boolean
Link copied to clipboard
abstract fun hidePoi(poi: PointOfInterest): Boolean
abstract fun hidePoi(id: Int): Boolean
Link copied to clipboard
abstract fun hidePois(pois: Set<PointOfInterest>): Boolean
Link copied to clipboard
abstract fun removeFilters(): Boolean
Link copied to clipboard
abstract fun removePoi(poi: PointOfInterest): Boolean
Link copied to clipboard
abstract fun removePois(pois: Set<PointOfInterest>): Boolean
Link copied to clipboard
abstract fun selectPoi(poi: PointOfInterest, shouldCenter: Boolean = true, animated: Boolean = true, zoom: Double = defaultZoom): Boolean

Selects a Point of Interest (POI).

abstract fun selectPoi(id: Int, shouldCenter: Boolean = true, animated: Boolean = true, zoom: Double = defaultZoom): Boolean

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

Link copied to clipboard
abstract fun showAllPois(): Boolean
Link copied to clipboard
abstract fun showPoi(poi: PointOfInterest): Boolean
abstract fun showPoi(id: Int): Boolean
Link copied to clipboard
abstract fun showPois(pois: Set<PointOfInterest>): Boolean
Link copied to clipboard
Link copied to clipboard
abstract fun unselectAllPois(): Boolean
Link copied to clipboard
abstract fun unselectPoi(): Boolean
abstract fun unselectPoi(poi: PointOfInterest): Boolean
abstract fun unselectPoi(id: Int): Boolean