You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking again at the code for faster route, and I'm not seeing where we're checking if the new route is actually different. How do we know, that the new route is not the current route with a significantly faster time?
Tests for the faster route controller are only checking if durationRemaining() is faster, but not if the route is different
Looking again at the code for faster route, and I'm not seeing where we're checking if the new route is actually different. How do we know, that the new route is not the current route with a significantly faster time?
Tests for the faster route controller are only checking if
durationRemaining()
is faster, but not if the route is differentMapboxDirectionsSession.requestFasterRoute is making a regular request to directions. It does not check if the new route is different.
Maybe it is the adjustedRouteOptions? But it only removes the origin and waypoints that have been completed.
The text was updated successfully, but these errors were encountered: