@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/2605638...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev