This commit is contained in:
Victor Shcherb 2016-08-03 23:59:01 +02:00
parent e360335dbf
commit 682869a2ee

View file

@ -1207,9 +1207,12 @@ public class RouteResultPreparation {
int turn; int turn;
if (laneOptions[j].equals("none") || laneOptions[j].equals("through")) { if (laneOptions[j].equals("none") || laneOptions[j].equals("through")) {
turn = TurnType.C; turn = TurnType.C;
} else if (laneOptions[j].equals("slight_right")) {
} else if (laneOptions[j].equals("slight_right") ||
laneOptions[j].equals("merge_to_right")) {
turn = TurnType.TSLR; turn = TurnType.TSLR;
} else if (laneOptions[j].equals("slight_left")) { } else if (laneOptions[j].equals("slight_left") ||
laneOptions[j].equals("merge_to_left")) {
turn = TurnType.TSLL; turn = TurnType.TSLL;
} else if (laneOptions[j].equals("right")) { } else if (laneOptions[j].equals("right")) {
turn = TurnType.TR; turn = TurnType.TR;