@HolgerJeromin commented on this pull request.


>            .setPopup(OSM.MapLibre.getPopup(user.description))
           .addTo(map);
+
+        return { marker, lat, lon };
+      })
+      .get();
+
+    const updateZIndex = () => {
+      // REVIEW FIX: Use for-of loop instead of forEach

```suggestion
```

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

```suggestion
```

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

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

Reply via email to