Pmtiles js v4 (#499)

* pmtiles js v4: remove pmtiles spec v2 compatibility [#287]
* restructure ts files into src
* add tsup for building ESM/CJS and making types work in ESM
* bump fflate dependency
* update CHANGELOG for js 4.0.0
This commit is contained in:
Brandon Liu
2024-11-26 11:56:41 +08:00
committed by GitHub
parent bbeda97ed4
commit e678dd5326
24 changed files with 2885 additions and 888 deletions

View File

@@ -1,3 +1,8 @@
4.0.0
* remove pmtiles spec v2 support, which reduces bundle size significantly [#287]
* use tsup for creating cjs/esm packages, which fixes typescript usage [#498]
* re-structure files in js project to be more conventional.
3.2.0
* MapLibre `Protocol` constructor takes an options object.
* add protocol option `metadata:boolean` that controls whether TileJSON metadata is fetched synchronously on map load. [#247]