Fix incorrect turn definition
This commit is contained in:
parent
d31b6288f0
commit
7088a7555c
1 changed files with 2 additions and 2 deletions
|
@ -788,9 +788,9 @@ public class RouteResultPreparation {
|
|||
}
|
||||
} else {
|
||||
for (int k = 0; k < rawLanes.length; k++) {
|
||||
int turn = rawLanes[k];
|
||||
int turn = TurnType.getPrimaryTurn(rawLanes[k]);
|
||||
boolean active = false;
|
||||
if (TurnType.getPrimaryTurn(turn) == TurnType.C) {
|
||||
if (turn == TurnType.C) {
|
||||
active = true;
|
||||
} else if (TurnType.isRightTurn(turn) && rs.roadsOnRight == 0) {
|
||||
// some turns go through many segments (to turn right or left)
|
||||
|
|
Loading…
Reference in a new issue