Skip to content

Fix handling of 0-tiles #1

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Fix handling of 0-tiles #1

wants to merge 1 commit into from

Conversation

nimra98
Copy link

@nimra98 nimra98 commented Mar 20, 2025

The use of empty() in verifying the x/y/z values does not allow for tiles containing 0 in the filename. These tiles are used on the lowest zoom-level (showing the world map).
See example #2 in the PHP documentation.

Using isset() should prevent wrongful terminations.

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