Update README.md

This commit is contained in:
Brandon Liu
2022-10-13 15:13:56 +08:00
committed by GitHub
parent f18a607266
commit 927f660917

View File

@@ -23,7 +23,7 @@ Example of a PMTiles archive displayed in MapLibre GL JS:
```js ```js
let protocol = new pmtiles.Protocol(); let protocol = new pmtiles.Protocol();
maplibregl.addProtocol("pmtiles",protocol.tileFunc); maplibregl.addProtocol("pmtiles",protocol.tile);
var style = { var style = {
"version": 8, "version": 8,
"sources": { "sources": {