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

fix: Fix pixelmap parameters for images smaller than tiles #1359

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

manthey
Copy link
Contributor

@manthey manthey commented Jan 3, 2025

Fix an issue when generating pixelmap parameters for images smaller than tiles. Specifically, if an image was small (say 100 x 100) and claimed to be tiled where the tiles where more than twice the size of the image (say 1024 x 1024), the minimum tile level was not set appropriately for the tile layer, and, if corrected, the url could ask for a negative z level. If negative z levels are ever desired, this would need to change.

Fix an issue when generating pixelmap parameters for images smaller than
tiles.  Specifically, if an image was small (say 100 x 100) and claimed
to be tiled where the tiles where more than twice the size of the image
(say 1024 x 1024), the minimum tile level was not set appropriately for
the tile layer, and, if corrected, the url could ask for a negative z
level.  If negative z levels are ever desired, this would need to
change.
@manthey manthey merged commit 9174d2a into master Jan 3, 2025
12 checks passed
@manthey manthey deleted the smaller-than-tiles branch January 3, 2025 17:38
Copy link

github-actions bot commented Jan 3, 2025

🎉 This PR is included in version 1.13.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant