diff --git a/OsmAnd-java/src/net/osmand/router/RouteResultPreparation.java b/OsmAnd-java/src/net/osmand/router/RouteResultPreparation.java index 600b098e5a..5e67ccc1bc 100644 --- a/OsmAnd-java/src/net/osmand/router/RouteResultPreparation.java +++ b/OsmAnd-java/src/net/osmand/router/RouteResultPreparation.java @@ -419,6 +419,9 @@ public class RouteResultPreparation { " asc " + (float) (h -lastHeight) + " dist " + (float) dist); serializer.endTag("","cmt"); + serializer.startTag("","slope"); + serializer.text((h -lastHeight)/ dist*100 + ""); + serializer.endTag("","slope"); } serializer.startTag("","desc"); serializer.text((res.getObject().getId() >> (BinaryInspector.SHIFT_ID )) + " " + index);