[openstreetmap/openstreetmap-website] Fix incorrect z-order of dashboard map markers (fixes #6639) (PR #6654)

Anshul Zilpe notifications at github.com
Fri Jan 2 08:49:50 UTC 2026


@aNsHuL5217 commented on this pull request.



>        }
-    });
+
+      markerObjects.sort((a, b) => a.currentY - b.currentY);
+
+      // REVIEW FIX: Use for-of with entries() to get index

 I just left those in to help track the specific changes during the review back-and-forth. I've cleared them.

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

Message ID: <openstreetmap/openstreetmap-website/pull/6654/review/3622455476 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260102/852dea81/attachment-0001.htm>


More information about the rails-dev mailing list