Package-level declarations

Types

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
class OnRouteDetails(val detourDuration: Duration? = null, val detourDistance: Distance? = null, val detourOffset: Distance? = null)

Describes the details related to the route for PoiLocation along the route.

Link copied to clipboard
fun interface PoiClickedListener

An interface that defines the callback method for listening click events on PoiLocations.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
class PoiLocation(val place: Place, val poi: Poi? = null, val onRouteDetails: OnRouteDetails? = null)

Describes a PoiLocation.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
interface PoiVisualization

An interface that provides methods to visualize Points of Interest (PoiLocations) on a map interface using the TomTomMap instance. 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
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
object PoiVisualizationFactory

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