-
-
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
Tiles will not load after usage without a network #576
Comments
This seems serious bug however I tested this against I think I know how to fix this issue, give me some time and I will make a new PR, the main problem is within flutter because it caches the failed Image, see:
|
|
I'm not sure if I'm seeing any changes in the behavior. |
It's because
Anyway if you are moving map by a controller then #579 contains some fix. |
@ristiisa I updated the PR with more strategy like |
Is there any workaround that you can think of for the moment? Until the real fix is implemented ? |
When the connectivity was lost and is restored the tiles that failed to load when the connectivity was lost will continue to fail to load:
SocketException: Failed host lookup: 'a.tile.openstreetmap.org' (OS Error: No address associated with hostname, errno = 7)
Video of the issue:
https://streamable.com/9kaguw
Some time after the connectivity is restored an exception is caught:
Tested with ac52f28
Flutter version 1.15.17
Framework revision 2294d75bfa (5 weeks ago), 2020-03-07 00:28:38 +0900
Dart version 2.8.0 (build 2.8.0-dev.12.0 9983424a3c)
The text was updated successfully, but these errors were encountered: