Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct TileID example #249

Merged
merged 1 commit into from
Sep 6, 2023
Merged

Correct TileID example #249

merged 1 commit into from
Sep 6, 2023

Conversation

bchapuis
Copy link
Contributor

@bchapuis bchapuis commented Sep 4, 2023

This example does not correspond to the test cases provided in the javascript reference implementation.

assert.strictEqual(zxyToTileId(1, 1, 1), 3);

This example does not correspond to the test cases provided in the javascript reference implementation.

https://github.com/protomaps/PMTiles/blob/17583ae19dba1392f48e63a12669f834064e797e/js/test/v3.test.ts#L40
@bdon bdon merged commit 009cd20 into protomaps:main Sep 6, 2023
2 checks passed
@bdon
Copy link
Member

bdon commented Sep 6, 2023

Thanks for the catch!

@bchapuis bchapuis deleted the patch-1 branch September 6, 2023 14:57
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.

2 participants