-
-
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
[FEATURE] Add option to automatically retry missed tiles #1856
Comments
I will say that using fallbackUrl seems to really mitigate the issue. To my surprise the images remain cached, although I have been told this may be more of a flutter bug, and is not really a "fix". In addition, another workaround I have found (especially for slow web rendering) is to split TileLayers up among CancellableNetworkTileProvider and NetworkTileProvider. I have scores of TileLayers, and for some reason, changing a portion of them to NetworkTileProvider alleviates the load somewhat, resulting in less missed tiles. |
Indeed, as discussed, if The equality method does implement this properly, but the Does using the |
Please supply an http (http clients can wrap other clients, so if you are already using a custom client, just wrap that client in the RetryClient (or the other way around), depending on whatever is appropriate for your app) |
What do you want implemented?
When downloading large numbers of tiles, sometimes a few are missed for whatever reason, resulting in ye olde checkerboard pattern.
However, the next time the tile layers rebuild (for example, when my timer updates with new data), all the previously missed tiles get filled in. So it appears they are "remembered" in some way. This fill-in behavior is reliable.
Instead of waiting for a rebuild (which in my case is 10 minutes later), it would be nice to have the option to automatically retry missed/failed tile downloads. It could take two parameters:
delay: The length of time to wait before retrying
retries: The number of times to retry
What other alternatives are available?
No response
Can you provide any other information?
I'd be happy to test this out, tune the parameters, etc.
Severity
Obtrusive: No workarounds are available, and this is essential to me
The text was updated successfully, but these errors were encountered: