Keep trkpt and wpt on single line

to better match BRouter output
This commit is contained in:
Norbert Renner 2021-03-27 15:19:03 +01:00
parent 265583e0c5
commit 7caa7aeba6
3 changed files with 43 additions and 23 deletions

View file

@ -259,8 +259,7 @@
let comment = `
<!-- $transport-mode$${this.transportMode}$ -->
<!-- cmd idx lon lat d2next geometry -->
<!-- $turn-instruction-start$
`;
<!-- $turn-instruction-start$`;
this._loopHints((hint, cmd, coord) => {
const pad = (obj = '', len) => {
@ -276,8 +275,7 @@
turn += hint.geometry;
comment += `
$turn$${turn}$
`;
$turn$${turn}$`;
});
comment += `