mirror of
https://github.com/maputnik/editor.git
synced 2026-02-10 06:30:00 +00:00
update to pmtiles 3.2.0 to make inspector work.
This commit is contained in:
committed by
Pirmin Kalberer
parent
f9db0d9b5c
commit
498b7d76de
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user