[openstreetmap/openstreetmap-website] Fix incorrect z-order of dashboard map markers (fixes #6639) (PR #6654)
Marwin Hochfelsner
notifications at github.com
Wed Dec 31 04:55:04 UTC 2025
@hlfan commented on this pull request.
> .setLngLat([user.lon, user.lat])
.setPopup(OSM.MapLibre.getPopup(user.description))
.addTo(map);
- }
- });
+
+ return { marker: marker, lat: user.lat, lon: user.lon };
While we're at it, we could destructure `user` to make this call look like this:
```suggestion
return { marker, lat, lon };
```
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6654#pullrequestreview-3620249146
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6654/review/3620249146 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251230/4f7933a2/attachment.htm>
More information about the rails-dev
mailing list