Files
PMTiles/js/CHANGELOG.md
2022-02-18 11:36:45 +08:00

16 lines
364 B
Markdown

1.0.0
* Breaking change, introducing new TypeScript module with more clearly defined interfaces.
* Leaflet plugin API changed:
```js
const p = new pmtiles.PMTiles('example.pmtiles')
pmtiles.leafletLayer(p).addTo(map)
```
* MapLibre protocol API changed:
```js
let cache = new pmtiles.ProtocolCache();
maplibregl.addProtocol("pmtiles",cache.protocol);
```