mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 19:01:08 +00:00
606 B
606 B
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.
urloption toPMTilesVectorSource/PMTilesRasterSourceis either string URL or apmtiles.Source.- remove option
headers, instead create aFetchSourceand specify custom headers:
const fetchSource = new pmtiles.FetchSource(
"https://r2-public.protomaps.com/protomaps-sample-datasets/nz-buildings-v3.pmtiles",
new Headers({'X-Abc':'Def'}),
);