Keep trkpt and wpt on single line
to better match BRouter output
This commit is contained in:
parent
265583e0c5
commit
7caa7aeba6
3 changed files with 43 additions and 23 deletions
|
|
@ -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 += `
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue