Files
PMTiles/openlayers/CHANGELOG.md
2025-02-21 18:09:48 +08:00

23 lines
606 B
Markdown

## 2.0.2
* bump pmtiles.js to v4.3.0
## 2.0.1
* Fix IIFE build - fflate needs browser build instead of node one
## 2.0.0
* Update to pmtiles.js v4
## 1.0.0
* Port code to TypeScript.
* add proper CJS, ESM and IIFE build artifacts.
* `url` option to `PMTilesVectorSource`/`PMTilesRasterSource` is either string URL or a `pmtiles.Source`.
* remove option `headers`, instead create a `FetchSource` and specify custom headers:
```js
const fetchSource = new pmtiles.FetchSource(
"https://r2-public.protomaps.com/protomaps-sample-datasets/nz-buildings-v3.pmtiles",
new Headers({'X-Abc':'Def'}),
);
```