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

Martin Ždila notifications at github.com
Mon Feb 10 12:39:24 UTC 2025


@zdila commented on this pull request.



> @@ -9,6 +14,43 @@ L.extend(L.LatLngBounds.prototype, {
   }
 });
 
+if (OSM.MAPTILER_KEY) {
+  maplibregl.setRTLTextPlugin(
+    "https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.2.3/mapbox-gl-rtl-text.js",

Which build script do you mean? I added this to `package.json` but `docker compose build` fails because such path doesn't exist when building docker image.

```
  "scripts": {
    "postinstall": "cp node_modules/@mapbox/mapbox-gl-rtl-text/mapbox-gl-rtl-text.min.js app/assets/javascripts/mapbox-gl-rtl-text.min.js"
  },
```

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

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


More information about the rails-dev mailing list