RoutesCallback
Route Callback is useful to set new route(s) on reroute event. Doing the same as MapboxNavigation.setRoutes.
Functions
Link copied to clipboard
abstract fun onNewRoutes(routes: List<NavigationRoute>, routerOrigin: RouterOrigin)
Content copied to clipboard
Called whenever new route(s) has been fetched.