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

To make the float zoom levels useful for Vector Tile Layer #591

Closed
omanges opened this issue May 13, 2020 · 6 comments
Closed

To make the float zoom levels useful for Vector Tile Layer #591

omanges opened this issue May 13, 2020 · 6 comments

Comments

@omanges
Copy link
Contributor

omanges commented May 13, 2020

Even though the zoom level trait has been made Float in the Vector Tile Layer support feature (#544), the zoom only changes on a integer value, for example, map actually changes only on 1.0, 2.0, 3.0 ..., rather than changing on any floating zoom, as floating zoom levels are possible for Vector Tile.

@omanges omanges changed the title To make the float zoom levels useful To make the float zoom levels useful for Vector Tile Layer May 13, 2020
@davidbrochart
Copy link
Member

Looks like we need support for https://leafletjs.com/reference-1.6.0.html#map-zoomdelta

@martinRenou
Copy link
Member

martinRenou commented May 13, 2020

It should be straightforward to expose this zoom_delta option to Python

@omanges
Copy link
Contributor Author

omanges commented May 31, 2020

@martinRenou assign this to me, I can try this.

@omanges
Copy link
Contributor Author

omanges commented May 31, 2020

I think we should also implement the https://leafletjs.com/reference-1.6.0.html#map-zoomsnap, zoomSnap

@omanges
Copy link
Contributor Author

omanges commented Jun 1, 2020

Works for me now
image

@zxdawn
Copy link

zxdawn commented Jun 16, 2023

Is it possible to make it also work for the scroll wheel?

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

No branches or pull requests

4 participants