-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Support more granularity in zoom levels #1309
Conversation
…be used, with providers that produce those levels, to have smaller changes in zoom level after a pinch operation, or a better fit with fit-to-bounds.
Wow, does this change really make fractional zoom work on touch devices? I'll check it out, interesting stuff! |
I've taken a crack at this another way with a jsfiddle in the thread here: https://groups.google.com/forum/#!topic/leaflet-js/L4WRlqbvlzU Feedback / improvements welcome. |
See #1066 for some details on the firefox grid issue. |
This patch is a great start, especially for pure GeoJSON maps, but by no means enough. I have extended it for my project:
There is probably more stuff I missed, but this allowed mouse zooming and zooming with |
Have there been any more developments on fractional zoom, especially for tile layers, implemented by resizing the tiles in CSS? Something like it is used for the zoom animations, but you can't stop at a fractional level. Is it just not practical in current browsers? I'm sure it's hairier than one might initially imagine, but I was thinking of taking a stab at it. |
I would really like to use fractional zooming with leaflet. OpenLayers and Polymaps don't have a complete set of features like leaflet does. I would be willing to pay for someone to develop a plugin for fraction zooming. |
I'd also like this to be made. I'm using Leaflet for image viewing, and I'd love to have the possibility to emulate the Rijskmuseum (they use Leaflet, but a very modified one, it seems?). |
Closing in favor of #2382 |
Change merged from #2382 is much more comprehensive, but it lacks the ability to support tile layers with support for fractional zoom. |
Support more granularity in zoom levels (e.g. zoomStep=0.5) that can be used, with providers that produce those levels, to have smaller changes in zoom level after a pinch operation, or a better fit with fit-to-bounds operations.