Add % to gpx to test
This commit is contained in:
parent
304a4c251c
commit
0e26d41fc1
1 changed files with 3 additions and 1 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue