Closed perliedman closed 9 years ago
The current fix has some issues, since the interpolation method is too naïve to be really good. Using this method, making a graph of the scale looks something like this:
showing clear signs of discontinuities at the integer zoom levels.
I have some ideas on how to fix this, but the current state might at least be better than not supporting non-integer zoom levels at all.
:star2: :beers:
When pinch-zooming (and possibly other cases), Leaflet calls CRS.scale with a non-integer zoom argument. This is currently not handled by Proj4Leaflet, which causes
NaN
problems in Leaflet, so that pinch-zooming is at least partially broken if Proj4Leaflet is used.