[openstreetmap/openstreetmap-website] Add button for directions from location (PR #5635)

Marwin Hochfelsner notifications at github.com
Wed Feb 19 16:13:09 UTC 2025


@hlfan commented on this pull request.



> @@ -11,7 +11,7 @@ OSM.Search = function (map) {
     e.preventDefault();
     const query = $(this).closest("form").find("input[name=query]").val();
     let search = "";
-    if (query) search = "?" + new URLSearchParams({ from: query });
+    if (query) search = "?" + new URLSearchParams({ to: query });

See #5710

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5635#discussion_r1961978383
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5635/review/2627319167 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250219/f42ab4d8/attachment.htm>


More information about the rails-dev mailing list