Broken Map Tiles cached? #189
-
Hi @JaffaKetchup and thanks again for the great package! We've encountered an issue where, under certain conditions like poor internet connection, high network load, or heavy memory usage, map tiles fail to load correctly and appear grey. Strangely, these grey tiles persist even after the app process is killed and restarted under stable conditions. This seems to suggest that tiles that failed to download properly are being cached and then treated as valid on future launches, preventing the app from retrying to fetch the correct tiles. Is there any mechanism in the package that could explain this behavior? Are failed tile fetches (e.g., due to timeouts or incomplete responses) ever written to the cache as if they were successful? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hi @codeOfJannik, But in the meantime, FMTC should be attempting to decode the tile before storing it: So I'm surprised it's grey. Here's a couple suggestions for debugging:
|
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply! I will continue debugging with your suggestions and let you know once I have found something. |
Beta Was this translation helpful? Give feedback.
-
@JaffaKetchup Apparently there is no problem that broken tiles are cached. We were able to reolve the behaviour by:
|
Beta Was this translation helpful? Give feedback.
@JaffaKetchup Apparently there is no problem that broken tiles are cached. We were able to reolve the behaviour by: