[openstreetmap/openstreetmap-website] Minimap migration from Leaflet to MapLibre (PR #6683)

Minh Nguyễn notifications at github.com
Mon Jan 19 15:57:45 UTC 2026


@1ec5 commented on this pull request.



> +        if (layer.options.leafletOsmId === "OpenMapTiles") {
+          OSM.MapLibre.setMapLanguage(miniMap);
+        }

> the list of supported languages at least appears to be fixed and not tied to the current style?

Correct, this is a limitation of mapbox-gl-language and the fork of it that MapTiler made for us. I’m working on [a new library](https://github.com/osm-americana/diplomat/) that’s more generic, among other things.

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

Message ID: <openstreetmap/openstreetmap-website/pull/6683/review/3678733206 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260119/3fb1cee9/attachment.htm>


More information about the rails-dev mailing list