-
-
Notifications
You must be signed in to change notification settings - Fork 860
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
Map view removes tiles when zooming to new zoom levels #2
Comments
_TileLayerState doesn't support multiple "levels" properly yet. Currently, _TileLayerState calls Leaflet uses a cache of each HTML elements to store tiles, which in Flutter, is just a cache of |
this is resolved by https://github.com/apptreesoftware/flutter_map/pull/5 - Like leaflet, we clear the tiles if the zoom level differs by more than a certain amount, but in general the image widgets should now remain on the screen when the zoom level changes. |
* Ignore pubspec.lock * Migrate to null-safety * Add changelog and bump version * Update CHANGELOG.md * Update README.md * Update pubspec.yaml * Fix last random things Co-authored-by: Luka S <[email protected]>
Steps to reproduce:
This experience is jarring and can prevent me from seeing what I'm zooming into.
This issue can also be reproduced by zooming out from the initial map location to other zoom levels.
Instead the tiles should render as they do in Mapbox's Raster tile source example. The old tiles remain rendered and are scaled to the current zoom level. New tiles at different zoom levels then fade in on top of the old tiles.
The text was updated successfully, but these errors were encountered: