Do not combine a segregated edge with a roundabout
This commit is contained in:
parent
c4eff6cd65
commit
19799848aa
@ -620,7 +620,8 @@ RouteSteps collapseSegregatedTurnInstructions(RouteSteps steps)
|
||||
}
|
||||
// else if the current step is segregated and the next step is not then combine with turn
|
||||
// adjustment
|
||||
else if (curr_step->is_segregated && !next_step->is_segregated)
|
||||
else if (curr_step->is_segregated && !next_step->is_segregated
|
||||
&& !hasRoundaboutType(next_step->maneuver.instruction))
|
||||
{
|
||||
// Determine if u-turn
|
||||
if (bearingsAreReversed(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user