Package-level declarations

Types

Link copied to clipboard
class OnRouteDetails(val detourDuration: Duration? = null, val detourDistance: Distance? = null, val detourOffset: Distance? = null)

Describes the details related to the route for point of interest along the route.

Link copied to clipboard
fun interface PoiClickedListener

An interface that defines the callback method for listening click events on Points of Interest (Pois).

Link copied to clipboard
class PoiLocation(val place: Place, val poi: Poi? = null, val onRouteDetails: OnRouteDetails? = null, val chargingStations: List<ChargingStation> = emptyList())

Describes a point of interest location.

Link copied to clipboard

An interface that provides methods to visualize Points of Interest (PoiLocations) on a map interface using the TomTomMap instance. Instances of PoiVisualization are created using PoiVisualizationFactory.create. You should call methods on these instances from the main thread only, otherwise an exception can occur. To use a PoiVisualization instance, first provide a list of PoiLocation with the display method. You can then call display or clear to remove the PoiLocations that have been added to the map by PoiVisualization.

Link copied to clipboard

Responsible for creating instances of objects conforming to the PoiVisualization interface.