Add 3rd turn

This commit is contained in:
Victor Shcherb 2016-03-30 14:45:24 +02:00
parent aec531c381
commit 0dc76234f2
2 changed files with 8 additions and 0 deletions

View file

@ -392,6 +392,10 @@ public class RouteResultPreparation {
if (st != 0) {
s += ";" + TurnType.valueOf(st, false).toXmlString();
}
int tt = TurnType.getTertiaryTurn(lns[h]);
if (tt != 0) {
s += ";" + TurnType.valueOf(tt, false).toXmlString();
}
}
s += "]";

View file

@ -145,6 +145,10 @@ public class RouteResultPreparationTest {
if (st != 0) {
s += ";" + TurnType.valueOf(st, false).toXmlString();
}
int tt = TurnType.getTertiaryTurn(lns[h]);
if (tt != 0) {
s += ";" + TurnType.valueOf(tt, false).toXmlString();
}
}
s += "";