moveRoutesFromPreviewToNavigator
Convenience method that takes previewed routes and sets them to Navigator, clearing the previewed routes afterwards. Equivalent to:
mapboxNavigation.setNavigationRoutes(mapboxNavigation.getRoutesPreview()!!.routesList)
mapboxNavigation.setRoutesPreview(emptyList())
Content copied to clipboard
Throws
when previewed routes are empty.