We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c20012 commit 11c6a39Copy full SHA for 11c6a39
website/public/scripts/map.js
@@ -17,6 +17,11 @@ function initMap() {
17
18
document.getElementById('mapbg-image').style.opacity = '0.5'
19
20
+ maplibregl.setRTLTextPlugin(
21
+ 'https://unpkg.com/@mapbox/mapbox-gl-rtl-text/mapbox-gl-rtl-text.min.js',
22
+ true, // Lazy load the plugin
23
+ )
24
+
25
const map = new maplibregl.Map({
26
style: 'https://tiles.openfreemap.org/styles/liberty',
27
center: berlin.center,
0 commit comments