-
-
Notifications
You must be signed in to change notification settings - Fork 868
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
Empty map tails when return to same route #608
Comments
I have the same problem. I have seen that if you use pushReplacementNamed('your route') this problem doesn't show up, but if you just use pushNamed('your route') it doesn't work. Is there a method to make the map work with pushNamed? |
@enrimon15, thank you. I will try to use it as workaround |
In my implementation the problem with pushReplacementNamed('route') also shows up. I am not able to get it running after route state changes. pushReplacement() - not working Any suggestions? |
@matthwfalk try to put tileProvider: NonCachingNetworkTileProvider(), in TileLayerOptions. Or you can try with pushNamedAndRemoveUntil |
I found a workaround that works for me. To make clear what I am trying to implement (Weather Radar):
This all works fine if I use the code from this commit:
Also the problem mentioned above does not exist with this state of code. The next commit is not working as expected. I think its all about the caching of image data in flutter. Maybe we can fix that in the upcoming version :) |
PR #715 fix the issue without tricking with Navigator. |
Hi flutter_map team!
In examples, if you try to open same route the map widget show no tiles, until you trying to move or zoom map. See screen cast.
Any ideas how it can be fixed?
The text was updated successfully, but these errors were encountered: