Commit Graph

7 Commits

Author SHA1 Message Date
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
Brandon Liu
a5f8a89256 Sfomuseum/main (#624)
* Update js/src/adapters.ts to dispatch empty image if source.getZxy returns an empty array (no raster data); run npm audit fix

* js: simplify leaflet missing tile case [#620]

---------

Co-authored-by: thisisaaronland <thisisaaronland@localhost>
2025-12-24 16:30:38 +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
d4d97ad7a9 maplibre: display error on empty bounds [#508] (#510)
* If a MapLibre source has empty bounds, no tiles will be displayed.
2025-01-09 16:10:43 +08:00
Brandon Liu
9a53ed8495 js: maplibre protocol has option to throw on missing tile [#321] (#505)
* js: maplibre protocol has option to throw on missing tile [#321]

* js: update docs copy for errorOnMissingTile

* js: 4.1.0
2024-12-15 16:49:56 +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