Skip to content

Commit 34da461

Browse files
bdonpka
authored andcommitted
update to pmtiles 3.2.0 to make inspector work.
1 parent 8ac5e36 commit 34da461

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"maputnik-design": "github:maputnik/design#172b06c",
5858
"ol": "^6.14.1",
5959
"ol-mapbox-style": "^7.1.1",
60-
"pmtiles": "^3.1.0",
60+
"pmtiles": "^3.2.0",
6161
"prop-types": "^15.8.1",
6262
"react": "^18.2.0",
6363
"react-accessible-accordion": "^5.0.0",

src/components/MapMaplibreGl.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ class MapMaplibreGlInternal extends React.Component<MapMaplibreGlInternalProps,
149149
localIdeographFontFamily: false
150150
} satisfies MapOptions;
151151

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

0 commit comments

Comments
 (0)