[openstreetmap/openstreetmap-website] Markers on dashboard map have incorrect z-order (Issue #6639)

Anshul Zilpe notifications at github.com
Thu Dec 25 06:20:17 UTC 2025


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

The issue stems from `app/assets/javascripts/dashboard.js`. Currently, the script iterates over the `[data-user]` elements and adds them to the map in the exact order they appear in the DOM.

Because the DOM order is determined by the text list (likely sorted by activity or name), the map markers follow that same sequence. This ignores geospatial latitude, causing "Northern" markers to be drawn on top of "Southern" markers if they simply happen to appear later in the list.

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

Message ID: <openstreetmap/openstreetmap-website/issues/6639/3690997585 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251224/38920be6/attachment.htm>


More information about the rails-dev mailing list