[openstreetmap/openstreetmap-website] Overhaul markers (PR #5764)
Marwin Hochfelsner
notifications at github.com
Thu Mar 20 22:51:44 UTC 2025
hlfan left a comment (openstreetmap/openstreetmap-website#5764)
I've experimented with joining the arc and the line with a curve so the curvature matches.
While this makes insetting the paths more difficult, this can be replaced with a `clip-path`.
Instead of a direct join
```
M12.5 41
L1.2664 17.9825
a12.5 12.5 0 1122.4671 0
z
```
it's a bit longer:
```
M12.5 41
l9.56-19.12
C23.53 18.94 25 16 25 12.5
a1 1 0 00-25 0
c0 3.5 1.47 6.44 2.94 9.38
z
```
But it looks much better:
<img src="https://github.com/user-attachments/assets/ba1cd833-f41c-497e-aea6-c6a9298a56c9" alt="path join detail" height="500"/>
And also better than the current path:

--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5764#issuecomment-2741834971
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5764/c2741834971 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250320/a4588b63/attachment-0001.htm>
More information about the rails-dev
mailing list