aNsHuL5217 left a comment (openstreetmap/openstreetmap-website#6654)

I’ve updated the code to handle the Z-ordering correctly.

To solve the sorting problem, I added a listener that updates the `zIndex` 
based on the marker's Y-position on the screen whenever the map moves or 
rotates. This keeps the "closest" markers on top without breaking the visuals.

Here is a quick video showing the rotation behavior:

https://github.com/user-attachments/assets/c0b4c048-3c75-4ec8-bfdd-5f877eb41d7e



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

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

Reply via email to