RouteOptionsUpdater
The updater can be used to create a new set of route request options to the existing destination, accounting for the progress along the route.
It's used by the default MapboxRerouteController (see OffRouteObserver and MapboxNavigation.setRerouteController).
Constructors
Types
Link copied to clipboard
Describes a result of generating new options from the original request and the current route progress.
Functions
Link copied to clipboard
fun update( routeOptions: RouteOptions?, routeProgress: RouteProgress?, locationMatcherResult: LocationMatcherResult?): RouteOptionsUpdater.RouteOptionsResult
Content copied to clipboard
Provides a new RouteOptions instance based on the original request options, the current route progress and location matcher result.