Add % to gpx to test

This commit is contained in:
Victor Shcherb 2017-02-23 21:48:56 +01:00
parent 6bf8d1b987
commit 7af533ab58

View file

@ -415,7 +415,7 @@ public class RouteResultPreparation {
if(lastHeight != -180 && dist > 0) { if(lastHeight != -180 && dist > 0) {
serializer.startTag("","cmt"); serializer.startTag("","cmt");
serializer.text((float) ((h -lastHeight)/ dist*100) + "% " + serializer.text((float) ((h -lastHeight)/ dist*100) + "% " +
" degree " + (float) Math.atan(((h -lastHeight)/ dist*100)) / Math.PI * 180 + " degree " + (float) Math.atan(((h -lastHeight)/ dist)) / Math.PI * 180 +
" asc " + (float) (h -lastHeight) + " dist " " asc " + (float) (h -lastHeight) + " dist "
+ (float) dist); + (float) dist);
serializer.endTag("","cmt"); serializer.endTag("","cmt");