diff --git a/OsmAnd-java/src/net/osmand/router/RouteResultPreparation.java b/OsmAnd-java/src/net/osmand/router/RouteResultPreparation.java index 0fe5aa7a7a..ef5331547b 100644 --- a/OsmAnd-java/src/net/osmand/router/RouteResultPreparation.java +++ b/OsmAnd-java/src/net/osmand/router/RouteResultPreparation.java @@ -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 += "]"; diff --git a/OsmAnd-java/test/java/net/osmand/router/RouteResultPreparationTest.java b/OsmAnd-java/test/java/net/osmand/router/RouteResultPreparationTest.java index a5f3a5b9ad..f5124db307 100644 --- a/OsmAnd-java/test/java/net/osmand/router/RouteResultPreparationTest.java +++ b/OsmAnd-java/test/java/net/osmand/router/RouteResultPreparationTest.java @@ -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 += "";