TomTomRoutingVisualization

Constructors

Link copied to clipboard
constructor(tomtomMap: TomTomMap, styleConfiguration: StyleConfiguration)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun clear()
Link copied to clipboard
open override fun clearAlternativeRoutes()

Removes all alternatives routes and corresponding traffic incidents that have been added with displayRoutePlan from the map, and keeps the selectedRoute.

Link copied to clipboard
open override fun displayRoutePlan(routePlan: RoutePlan)

Displays a RoutePlan on the map.

Link copied to clipboard
open override fun getTrafficIncidents(route: Route): List<TrafficIncident>?

Gets the list of TrafficIncidents that are being displayed on a certain Route.

Link copied to clipboard
open override fun replaceMap(tomtomMap: TomTomMap)

Replaces the current TomTomMap with a new one.

Link copied to clipboard
open override fun selectRoute(route: Route)

Selects a Route from the routes displayed in the map.

Link copied to clipboard
open override fun setTrafficIncidentsEnabled(enabled: Boolean)

Enables or disables visualization of on-route traffic incidents.

Link copied to clipboard
open override fun setZoomToRoutePlanEnabled(enabled: Boolean)

Enables or disables automatic zoom to routes when displayRoutePlan is invoked.

Properties

Link copied to clipboard

Tells if visualization of on-route traffic incidents is enabled.

Link copied to clipboard

Reports whether automatic zoom to routes is enabled.

Link copied to clipboard
open override val routes: List<Route>

The list of Routes that is being displayed on the map.

Link copied to clipboard
open override val selectedRoute: Route?

The Route selected.