Merge 9385e00cd9
into 5604062164
This commit is contained in:
commit
f48278455d
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ OSM.Directions = function (map) {
|
|||
|
||||
OSM.router.replace("/directions?" + new URLSearchParams({
|
||||
engine: chosenEngine.id,
|
||||
route: points.map(p => OSM.cropLocation(p, map.getZoom()).join()).join(";")
|
||||
route: points.map(p => `${p.lat},${p.lng}`).join(";")
|
||||
}));
|
||||
|
||||
// copy loading item to sidebar and display it. we copy it, rather than
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue