Files
PMTiles/openlayers/CHANGELOG.md
Brandon Liu d4595793ad ol-pmtiles 2.0.1 (#530)
* fix IIFE build by specifying platform=browser to esbuild
2025-02-21 15:39:36 +08:00

568 B

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:
 const fetchSource = new pmtiles.FetchSource(
  "https://r2-public.protomaps.com/protomaps-sample-datasets/nz-buildings-v3.pmtiles",
  new Headers({'X-Abc':'Def'}),
);