[openstreetmap/openstreetmap-website] Migrate the dashboard entry page from leaflet to maplibre (PR #6504)

Marwin Hochfelsner notifications at github.com
Sat Nov 8 05:05:15 UTC 2025


@hlfan commented on this pull request.



> +.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon {
+  mask-image: image-url("map-controls/zoomin.svg");
+  -webkit-mask-image: image-url("map-controls/zoomin.svg");
+}
+
+.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon {
+  mask-image: image-url("map-controls/zoomout.svg");
+  -webkit-mask-image: image-url("map-controls/zoomout.svg");
+}
+
+.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon {
+  mask-image: image-url("map-controls/geolocate.svg");
+  -webkit-mask-image: image-url("map-controls/geolocate.svg");
+}

https://github.com/openstreetmap/openstreetmap-website/blob/713dc3285a54ff20a5051c055706f0b3d355242e/app/views/dashboards/show.html.erb#L5

Now the icons are requested twice each.

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

Message ID: <openstreetmap/openstreetmap-website/pull/6504/review/3437559317 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251107/4b613890/attachment-0001.htm>


More information about the rails-dev mailing list