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
For roundabouts, the turn banner shows an icon that goes counterclockwise, even in countries that drive on the left:
Even without Project-OSRM/osrm-backend#2772 / Project-OSRM/osrm-backend#4415, we can flip the icon based on whether the roundabout maneuver’s initial and final headings indicate a left or right turn, since those headings correspond to the entrance maneuver, as opposed to the exit maneuver.
Similar to #640, I think fixing this issue would entail looking at the enter-roundabout step’s maneuver direction: if it’s to the left, then flip the roundabout icon horizontally.
I think fixing this issue would entail looking at the enter-roundabout step’s maneuver direction: if it’s to the left, then flip the roundabout icon horizontally.
Here’s an example where the step’s direction (derived from the maneuver’s modifier in the Directions API response) will be slightRight when using a roundabout to continue going straight, whether or not includesExitRoundaboutManeuver (roundabout_exits) is set. However, note that the direction will be the overall direction of travel in the case of a “roundabout turn” maneuver.
For roundabouts, the turn banner shows an icon that goes counterclockwise, even in countries that drive on the left:
Even without Project-OSRM/osrm-backend#2772 / Project-OSRM/osrm-backend#4415, we can flip the icon based on whether the roundabout maneuver’s initial and final headings indicate a left or right turn, since those headings correspond to the entrance maneuver, as opposed to the exit maneuver.
I think this issue will be unaffected by Project-OSRM/osrm-backend#4358.
/cc @bsudekum @frederoni @MoKob
The text was updated successfully, but these errors were encountered: