An idea for closing #6442:
Use the selected mode of the mode group to trigger showing the route again 
after hiding the sidebar.
This does NOT request the route again.

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

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

-- Commit Summary --

  * Add directions restore functionality

-- File Changes --

    M app/assets/javascripts/index/directions-route-output.js (12)
    M app/assets/javascripts/index/directions.js (7)

-- Patch Links --

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

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

Message ID: <openstreetmap/openstreetmap-website/pull/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to