enableLegacyBehaviorForMapMatchedRoute
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.
Return
this Builder
Parameters
value
indicates if legacy logic is enabled or disabled.