Skip to content

Commit

Permalink
SL-159 - Adds right-to-left to Bahrain map
Browse files Browse the repository at this point in the history
Adds missing right-to-left plugin to the Bahrain map!
  • Loading branch information
nbozon committed Jun 24, 2024
1 parent 2c325c7 commit 43067b3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions web/bahrain/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
<body>
<div id="map"></div>
<script>

maptilersdk.setRTLTextPlugin(
'https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.2.3/mapbox-gl-rtl-text.js',
null,
true
);

maptilersdk.config.apiKey = 'ikPbJwwEEbaMHCvgAxpQ';
const map = new maptilersdk.Map({
container: 'map',
Expand Down

0 comments on commit 43067b3

Please sign in to comment.