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!: changed type of tileSize to integer #1940

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Conversation

JaffaKetchup
Copy link
Member

Fixes #1936.

There's no apparent reason that tileSize would be anything but an integer, since it is not possible to get tiles in fractional pixels. This PR relies on this assumption, and a different fix would be needed for #1936 if this assumption is not valid.

Note that this is breaking.

Minor documentation improvements
@JaffaKetchup
Copy link
Member Author

We'll leave this to review and merge before a major upgrade.

@JaffaKetchup JaffaKetchup marked this pull request as draft September 12, 2024 18:46
@TesteurManiak
Copy link
Collaborator

As a way of making this less breaking, you could deprecate tileSize for a tileDimension parameter?

@JaffaKetchup
Copy link
Member Author

As a way of making this less breaking, you could deprecate tileSize for a tileDimension` parameter?

I don't see why that wouldn't work, I'd be happy to do that if you think that's better.

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

Successfully merging this pull request may close these issues.

[BUG] {d} urlTemplate placeholder improperly converted to string on non-web platforms
3 participants