selectedRoute

abstract val selectedRoute: Route?

The Route selected for navigation.

This is null before a RoutePlan has been displayed with displayRoutePlan(), or after calling clear(). During a navigation session, this property contains the active route.

See also

For selecting a different route to be navigated.