Builder
Builder for RerouteOptions.
Constructors
Functions
Link copied to clipboard
fun avoidManeuverSeconds(avoidManeuverSeconds: Int): RerouteOptions.Builder
Content copied to clipboard
Avoid maneuver second. A radius in seconds around reroute origin point where need to avoid any significant maneuvers. Unit is seconds.
Link copied to clipboard
Build the RerouteOptions
Link copied to clipboard
fun enableLegacyBehaviorForMapMatchedRoute(value: Boolean): RerouteOptions.Builder
Content copied to clipboard
Enables legacy reroute logic for routes generated by Mapbox Map Matching API. Legacy logic builds a new route using Mapbox Directions API using all coordinates from original request to Mapbox Map Matching API. Legacy logic aren't able to handle more than 25 coordinates as well as OpenLr.