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 a7347bf commit b284178Copy full SHA for b284178
website/public/scripts/map.js
@@ -17,6 +17,12 @@ function initMap() {
17
18
document.getElementById('mapbg-image').style.opacity = '0.5'
19
20
+ // RTL support, optional
21
+ maplibregl.setRTLTextPlugin(
22
+ 'https://unpkg.com/@mapbox/[email protected]/dist/mapbox-gl-rtl-text.js',
23
+ true, // Lazy load the plugin
24
+ )
25
+
26
const map = new maplibregl.Map({
27
style: 'https://tiles.openfreemap.org/styles/liberty',
28
center: berlin.center,
0 commit comments