[openstreetmap/openstreetmap-website] Add OpenMapTiles vector map (PR #4042)

Minh Nguyễn notifications at github.com
Mon Jun 5 15:27:57 UTC 2023


@1ec5 commented on this pull request.



> @@ -11,6 +15,40 @@ L.extend(L.LatLngBounds.prototype, {
   }
 });
 
+if (OSM.MAPTILER_KEY) {
+  L.OpenMapTiles = L.MaplibreGL.extend({

Arabic and Hebrew would be broken unless this code also [installs the right-to-left text plugin](https://maplibre.org/maplibre-gl-js-docs/example/mapbox-gl-rtl-text). (Note that it only supports these two languages, not other languages in the same scripts or other right-to-left scripts.)

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

Message ID: <openstreetmap/openstreetmap-website/pull/4042/review/1462822905 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230605/20fe148e/attachment.htm>


More information about the rails-dev mailing list