setRerouteController
Set RerouteController that's automatically invoked when user is off-route.
By default MapboxRerouteController is used. Pass null
to disable automatic reroute. A user will stay in OFF_ROUTE
state until a new route is set or the user gets back to the route.
Content copied to clipboard
Set NavigationRerouteController that's automatically invoked when user is off-route.
By default MapboxRerouteController is used. Pass null
to disable automatic reroute. A user will stay in OFF_ROUTE
state until a new route is set or the user gets back to the route.