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 alternative routes and corresponding traffic incidents added with displayRoutePlan from the map and keeps the activeRoute.

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 setActiveRoute(route: Route)

Set as active a Route from the routes displayed on 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.

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

Update the data associated to the RoutingRoute that are being displayed.

Properties

Link copied to clipboard
open override val activeRoute: Route?

The active Route.

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.