Skip to content

Commit

Permalink
fix RTL text.
Browse files Browse the repository at this point in the history
  • Loading branch information
bdon committed Aug 29, 2024
1 parent f59d02c commit 5959803
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,11 @@ function App() {
cellColor = "yellow";
}

maplibregl.setRTLTextPlugin(
"https://unpkg.com/@mapbox/[email protected]/mapbox-gl-rtl-text.min.js",
true,
);

map = new maplibregl.Map({
container: "map",
style: `https://api.protomaps.com/styles/v3/${basemapTheme}.json?key=5b9c1298c2eef269`,
Expand Down

0 comments on commit 5959803

Please sign in to comment.