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

Marwin Hochfelsner notifications at github.com
Sun Feb 9 07:55:19 UTC 2025


### Description
Adds a button into the directions search form:
| before | after |
|--------|--------|
| ![before](https://github.com/user-attachments/assets/83a0c449-afaf-4f18-bdec-468dd7b8c80b) | ![after](https://github.com/user-attachments/assets/6a4faa5f-065a-45ae-a2e6-f346975ebb53) |

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5635

-- Commit Summary --

  * Add button for directions from location

-- File Changes --

    M app/assets/javascripts/index/directions.js (27)
    M app/assets/javascripts/index/search.js (2)
    M app/assets/stylesheets/common.scss (9)
    M app/views/layouts/_search.html.erb (39)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5635.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5635.diff

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

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


More information about the rails-dev mailing list