This commit is contained in:
Anton Khorev 2025-03-12 17:20:40 +03:00 committed by GitHub
commit f48278455d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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