Skip to content

deps: bump pmtiles to ^4 - #215

Open
nickchomey wants to merge 1 commit into
protomaps:mainfrom
nickchomey:bump-pmtiles-v4
Open

nickchomey wants to merge 1 commit into
protomaps:mainfrom
nickchomey:bump-pmtiles-v4

Conversation

@nickchomey

Copy link
Copy Markdown

The library's entire PMTiles surface is new PMTiles(url) plus getZxy(z, x, y, signal), both unchanged between v3 and v4.

Verified on this branch: tsc --noEmit clean, tsup build succeeds, full test suite passes (46/46), plus an end-to-end decode of a live archive through PmtilesSource returning real layers.

Motivation: downstream offline-caching work (dedicated-worker tile cache feeding leafletLayer a getZxy-compatible source) standardises on pmtiles v4. One major on the page means bundlers deduplicate to a single copy instead of nesting v3 under this package.

The library's entire PMTiles surface is the constructor plus
getZxy(z, x, y, signal), both unchanged between v3 and v4. Verified
with tsc, the tsup build, and the full test suite (46 pass), plus an
end-to-end decode of a live archive through PmtilesSource.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant