-
Notifications
You must be signed in to change notification settings - Fork 799
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
Tiles disappear when zooming beyond 'maxNativeZoom' #743
Comments
thanks for this. the behavior definitely looks inappropriate to me. i should be able to take a closer look soon. |
I took a look. I think this is related to changes we made to handle web mercator services at non-standard scale levels. I think we need to use |
based on my first pass, additional changes will be necessary to implement a fix. |
Any updates on this? Ran into this upgrading to Leaflet 1.0 and all of our layers with a maxNativeZoom stopped working correctly. |
i took another look at this and was able to identify a fix, mostly due to @patrickarlt's characteristically good clue. the proposed patch can be found in #904. |
After the 'maxNativeZoom' level set on a tile loaded with L.esri.tiledMapLayer is reached, the tiles disappear instead of being loaded from the maxNativeZoom level and auto-scaled.
If the tile is loaded using the Leaflet L.tileLayer 'maxNativeZoom' works correctly.
I've prepared a demo to see the issue.
Two tiles have been added using the ESRI Leaflet addon and again using just Leaflet. After zooming in beyond the maximum zoom level where the tile has data (15) the ESRI tiles disappears whereas the Leaflet tile is scalled properly.
The text was updated successfully, but these errors were encountered: