[openstreetmap/openstreetmap-website] Add demo links for routing engine directions Fixes #6387 (PR #6693)
Marwin Hochfelsner
notifications at github.com
Tue Jan 13 18:42:59 UTC 2026
@hlfan commented on this pull request.
> @@ -55,18 +51,28 @@
elevation: false,
instructions: true
});
- points.forEach(p => query.append("point", p.lat + "," + p.lng));
+ const demoQuery = new URLSearchParams({ profile: profile });
```suggestion
const demoQuery = new URLSearchParams({ profile });
```
This `profile` variable could be used by both queries as query parameter and content are always the same here.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6693#pullrequestreview-3657288182
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6693/review/3657288182 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260113/56b8e935/attachment-0001.htm>
More information about the rails-dev
mailing list