Use togpx fork for now

- with PR 11 merged
- referencing jxon fork with namespace prefixes fixed
This commit is contained in:
Norbert Renner 2021-03-09 08:15:52 +01:00
parent 4c27f5894c
commit 954812cf52
4 changed files with 10 additions and 18 deletions

View file

@ -226,7 +226,7 @@
_getWpt: function (hint, cmd, coord) {
const extensions = {};
// TODO 'locus:' namespace gets removed
extensions['locus:rteDistance'] = hint.distance;
if (hint.time > 0) {
extensions['locus:rteTime'] = hint.time;
@ -311,11 +311,6 @@
rtept: this._createRoutePoints(gpx),
});
// reorder trk after rte
const trk = gpx.trk;
delete gpx.trk;
gpx.trk = trk;
return gpx;
}.bind(this);
},