[openstreetmap/openstreetmap-website] Adjust colouring of icon when sharing with position to avoid route icon conflict (#929)
Marwin Hochfelsner
notifications at github.com
Thu Jan 15 17:32:12 UTC 2026
hlfan left a comment (openstreetmap/openstreetmap-website#929)
> Do those new marker SVGs from your screenshot already exist
Well, that PR was superseded by #5854, which replaced the whole structure.
But the marker fill paths `M6 13h7v7l5-12Z` and `M10 21 7 9c5-3 6 2 11 0l1 4c-5 2-6-3-11 0` from 52f735eabf5c6084b99774132d2e7b36b708ebde don't need much adjustment anyway.
https://github.com/openstreetmap/openstreetmap-website/blob/3e447d802ccb269dc468340c54f6c5268f7d4ebf/app/views/layouts/_markers.html.erb#L21-L22
```ruby
"start" => { :"stroke-linejoin" => "round", :fill => "#fff", :d => "M5.5 13h7v7l5-12z" },
"flag" => { :"stroke-linecap" => "round", :"stroke-linejoin" => "round", :fill => "#fff", :d => "M10 21 7 9c5-3 6 2 11 0l1 4c-5 2-6-3-11 0" },
```
I think that, in combination with `bi-cursor` and `bi-flag` (no fills in context menu), would match well enough.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/929#issuecomment-3756057356
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/929/3756057356 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260115/54a57848/attachment-0001.htm>
More information about the rails-dev
mailing list