setPreviewRoutes

fun setPreviewRoutes(routes: List<NavigationRoute>)

Sets the routes passed to NavigationView and not to MapboxNavigation. The action does not triggers RouteProgress, BannerInstructions or VoiceInstructions updates even if the TripSessionState is TripSessionState.STARTED.

Parameters

routes