@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/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to