PreviewCarRoutesProvider2

Gives the CarRoutePreviewScreen the ability to control the selected route rendered by the CarRouteLineRenderer and CarNavigationCamera.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val navigationRoutes: Flow<List<NavigationRoute>>

Provides navigation routes for active guidance or route preview.

Link copied to clipboard

Provides navigation routes and selected route index for route preview.

Functions

Link copied to clipboard

When the route selection changes, update the route selection. This will relay the route selection to other components.