[openstreetmap/openstreetmap-website] Reuse mirrored turn icons (PR #5776)

Marwin Hochfelsner notifications at github.com
Sat Mar 8 14:08:58 UTC 2025


### Description
I replaced the definitions of the turn icons twice for left and right with a single definition and a mirroring.
I also run the path data through svgo.

### How has this been tested?
ctrl+c ctrl+v in browser

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

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

-- Commit Summary --

  * Reuse mirrored turn icons

-- File Changes --

    M app/assets/javascripts/index/directions.js (2)
    M app/views/directions/search.html.erb (109)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list