Commit Graph

8 Commits

Author SHA1 Message Date
Brandon Liu
20f56a5067 abort pending fetches 2026-03-12 14:27:45 -04:00
Brandon Liu
c1014a5cf8 js: Allow passing credentials option to fetch [#397] (#644)
* js: Allow passing credentials option to fetch [#397]
* fix passing custom headers in case where remote archive is < 16 kB
* clean up `any` usage
2026-02-27 11:09:11 -05:00
Brandon Liu
36bb8046b5 JS cleanup (#640)
* JS cleanup

* remove unused function
* leaflet: properly clean up object URLs
* maplibre: refactor tile type detection
* update leaflet raster example
2026-02-10 19:07:24 -05:00
Anson Chung
6f6c9c8697 Implement MLT (#633)
* Add MLT tile type

* MLT code implementation

* fix build - /app needs to wait for new pmtiles version on npm

* update CHANGELOGs and python, js versions [#596, #633]

---------

Co-authored-by: Michael Barry <msbarry@users.noreply.github.com>
Co-authored-by: Brandon Liu <bdon@users.noreply.github.com>
Co-authored-by: Brandon Liu <bdon@bdon.org>
2026-02-03 17:24:42 -05:00
Brandon Liu
cabe8a898a Abort requests [#608] (#625)
* Properly abort requests using AbortController

* add basic adapter tests

---------

Co-authored-by: Andrew Dassonville <dassonville.andrew@gmail.com>
2025-12-24 17:33:11 +08:00
Taku Fukada
9b69ab4b64 Simplify and optimize Hilbert tile ID <-> XYZ conversion (#527)
* Optimize Hilbert tile ID <-> XYZ conversion

* biome

* tile_id: more improvements

* tile_id(cpp): uint32
2025-02-21 15:37:49 +08:00
Brandon Liu
5b075048cc js: cleanup error throwing to always use new Error (#504) 2024-12-13 14:42:13 +08:00
Brandon Liu
e678dd5326 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
2024-11-26 11:56:41 +08:00