Closed kpennacchia closed 1 year ago
Attempting to request directions while adding cashTollOnly to the exclusions causes the request to fail with the following error.
cashTollOnly
Exclude value must be one of: toll, motorway, ferry, unpaved, cash_only_tolls, border_crossing, point(lon lat)
Example code snippet:
let routeOptions = NavigationRouteOptions(waypoints: waypoints, profileIdentifier: .automobile) routeOptions.roadClassesToAvoid = [.cashTollOnly]
It looks like the string value being used is cash_only_toll, but the correct value is cash_only_tolls.
cash_only_toll
cash_only_tolls
Same here, needs to be fixed!
Hi! The fix has landed in this PR and should be available in next version release (2.10). Thank you for flagging the issue!
Attempting to request directions while adding
cashTollOnly
to the exclusions causes the request to fail with the following error.Example code snippet:
It looks like the string value being used is
cash_only_toll
, but the correct value iscash_only_tolls
.