NavigationVisualization

Functions

Link copied to clipboard
abstract fun clear()
Link copied to clipboard
abstract fun clearAlternativeRoutes()

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

Link copied to clipboard
abstract fun displayRoutePlan(routePlan: RoutePlan)

Displays a RoutePlan on the map.

Link copied to clipboard

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

Link copied to clipboard
abstract fun replaceMap(tomtomMap: TomTomMap)

Replaces the current TomTomMap with a new one.

Link copied to clipboard
abstract fun selectGuidanceType(guidanceType: GuidanceType)

Selects the type of guidance to be used when a navigation session starts.

Link copied to clipboard
abstract fun setActiveRoute(route: Route)

Set as active a Route from the routes displayed in the map.

Link copied to clipboard
abstract fun setTrafficIncidentsEnabled(enabled: Boolean)

Enables or disables visualization of on-route traffic incidents.

Link copied to clipboard
abstract fun setZoomToRoutePlanEnabled(enabled: Boolean)

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

Properties

Link copied to clipboard
abstract val activeRoute: Route?

The active Route.

Link copied to clipboard

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

Link copied to clipboard

The type of navigation guidance selected.

Link copied to clipboard

Vehicle horizon-specific API used to manage horizon capabilities, e.g., safety cameras visibility.

Link copied to clipboard

Reports whether automatic zoom to routes is enabled.

Link copied to clipboard
abstract val routes: List<Route>

The list of Routes displayed on the map.