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

Minh Nguyễn notifications at github.com
Thu Nov 6 11:08:01 UTC 2025


@1ec5 commented on this pull request.



> @@ -10,6 +10,7 @@
   <% end %>
   <%= stylesheet_link_tag "print-#{dir}", :media => "print" %>
   <%= stylesheet_link_tag "leaflet-all", :media => "screen, print" %>
+  <link href="https://unpkg.com/maplibre-gl@^5.11.0/dist/maplibre-gl.css" rel="stylesheet" />

We’re already pulling in MapLibre GL JS elsewhere in the codebase. This looks like a JavaScript comment, but we have a Rails-related build step that actually includes the library somehow:

https://github.com/openstreetmap/openstreetmap-website/blob/8809986357776af595946d5878e57d1e7352da47/app/assets/javascripts/leaflet.maplibre.js#L1

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

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


More information about the rails-dev mailing list