Skip to content

Commit

Permalink
update to pmtiles 3.2.0 to make inspector work.
Browse files Browse the repository at this point in the history
  • Loading branch information
bdon authored and pka committed Sep 25, 2024
1 parent 8ac5e36 commit 34da461
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions 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 package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"maputnik-design": "github:maputnik/design#172b06c",
"ol": "^6.14.1",
"ol-mapbox-style": "^7.1.1",
"pmtiles": "^3.1.0",
"pmtiles": "^3.2.0",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-accessible-accordion": "^5.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/components/MapMaplibreGl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ class MapMaplibreGlInternal extends React.Component<MapMaplibreGlInternalProps,
localIdeographFontFamily: false
} satisfies MapOptions;

let protocol = new Protocol();
let protocol = new Protocol({metadata: true});
MapLibreGl.addProtocol("pmtiles",protocol.tile);
const map = new MapLibreGl.Map(mapOpts);

Expand Down

0 comments on commit 34da461

Please sign in to comment.