Skip to content

Commit

Permalink
viewer: bump MapLibre version to 4.x (#241)
Browse files Browse the repository at this point in the history
* viewer: bump MapLibre version to 4.x

* fix types
  • Loading branch information
bdon authored May 6, 2024
1 parent 27c6366 commit 42d2a03
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 35 deletions.
73 changes: 41 additions & 32 deletions app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"check": "biome check src test --javascript-formatter-indent-style=space --json-formatter-indent-style=space"
},
"dependencies": {
"maplibre-gl": "^3.4.1",
"maplibre-gl": "^4.1.3",
"ol": "^8.1.0",
"ol-mapbox-style": "^12.0.0",
"ol-pmtiles": "^0.2.0",
Expand Down
1 change: 0 additions & 1 deletion app/src/MapViewComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ function MapLibreView(props: {
if (maplibregl.getRTLTextPluginStatus() === "unavailable") {
maplibregl.setRTLTextPlugin(
"https://unpkg.com/@mapbox/[email protected]/mapbox-gl-rtl-text.min.js",
() => {},
true,
);
}
Expand Down
1 change: 0 additions & 1 deletion app/src/VisualTestsComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@ export default function VisualTestsComponent() {
if (maplibregl.getRTLTextPluginStatus() === "unavailable") {
maplibregl.setRTLTextPlugin(
"https://unpkg.com/@mapbox/[email protected]/mapbox-gl-rtl-text.min.js",
() => {},
false, // we need to pre-load this, otherwise diffs will be flaky
);
}
Expand Down

0 comments on commit 42d2a03

Please sign in to comment.