diff --git a/OsmAnd-java/src/net/osmand/router/RouteResultPreparation.java b/OsmAnd-java/src/net/osmand/router/RouteResultPreparation.java index fb7bfb0244..25bb875f5f 100644 --- a/OsmAnd-java/src/net/osmand/router/RouteResultPreparation.java +++ b/OsmAnd-java/src/net/osmand/router/RouteResultPreparation.java @@ -414,7 +414,9 @@ public class RouteResultPreparation { serializer.endTag("","ele"); if(lastHeight != -180 && dist > 0) { serializer.startTag("","cmt"); - serializer.text((float) ((h -lastHeight)/ dist) + "% " + " asc " + (float) (h -lastHeight) + " dist " + serializer.text((float) ((h -lastHeight)/ dist*100) + "% " + + " degree " + (float) Math.atan(((h -lastHeight)/ dist*100) / Math.PI * 180) + + " asc " + (float) (h -lastHeight) + " dist " + (float) dist); serializer.endTag("","cmt"); }