switch gpx name to point name - temp only
This commit is contained in:
parent
f405b0e16e
commit
0f8bdfee6c
1 changed files with 4 additions and 1 deletions
|
@ -153,7 +153,10 @@ public class FormatGpx extends Formatter {
|
||||||
sb.append(" <wpt lon=\"").append(formatILon(hint.ilon)).append("\" lat=\"")
|
sb.append(" <wpt lon=\"").append(formatILon(hint.ilon)).append("\" lat=\"")
|
||||||
.append(formatILat(hint.ilat)).append("\">")
|
.append(formatILat(hint.ilat)).append("\">")
|
||||||
.append(hint.selev == Short.MIN_VALUE ? "" : "<ele>" + (hint.selev / 4.) + "</ele>")
|
.append(hint.selev == Short.MIN_VALUE ? "" : "<ele>" + (hint.selev / 4.) + "</ele>")
|
||||||
.append("<name>").append(hint.getMessageString()).append("</name>")
|
.append("<name>P")
|
||||||
|
.append(""+hint.indexInTrack+"_")
|
||||||
|
.append(hint.getMessageString())
|
||||||
|
.append("</name>")
|
||||||
.append("<extensions><locus:rteDistance>").append("" + hint.distanceToNext).append("</locus:rteDistance>");
|
.append("<extensions><locus:rteDistance>").append("" + hint.distanceToNext).append("</locus:rteDistance>");
|
||||||
float rteTime = t.getVoiceHintTime(i + 1);
|
float rteTime = t.getVoiceHintTime(i + 1);
|
||||||
if (rteTime != lastRteTime) { // add timing only if available
|
if (rteTime != lastRteTime) { // add timing only if available
|
||||||
|
|
Loading…
Reference in a new issue