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

[BUG] maxNativeZoom does not work since v4 #1625

Closed
JaffaKetchup opened this issue Aug 28, 2023 Discussed in #1624 · 0 comments · Fixed by #1627
Closed

[BUG] maxNativeZoom does not work since v4 #1625

JaffaKetchup opened this issue Aug 28, 2023 Discussed in #1624 · 0 comments · Fixed by #1627
Labels
bug This issue reports broken functionality or another error P: 2 (soon™?)

Comments

@JaffaKetchup
Copy link
Member

JaffaKetchup commented Aug 28, 2023

Originally reported in #1624 by @sequanimartin


TileLayer.maxNativeZoom no longer results in the tiles at the specified zoom levels being zoomed/scaled as intended.

Instead, in v4 & v5, the map appears to break, and in v6, there is no apparent effect.

TileLayer(
    urlTemplate: "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
    maxNativeZoom: 18,
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue reports broken functionality or another error P: 2 (soon™?)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant