Every tiles are downloaded again after every restart the app, it will be good if we use CachedNetworkImageProvider instead NetworkImageWithRetry.
CachedNetworkImageProvider is part of:
https://pub.dartlang.org/packages/cached_network_image
I already have an example working with both options:
if(options.cachedTiles){
return new CachedNetworkImageProvider(url);
}else{
return new NetworkImageWithRetry(url);
}
Cool - perhaps we should just make the image provider configurable.
This is especially prudent as many of us pay for our map tiles
... though perhaps we should also be spying to use this library :D is there
a donation link anywhere ?
On Sun, 3 Feb 2019 at 01:24, John Ryan notifications@github.com wrote:
Cool - perhaps we should just make the image provider configurable.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/johnpryan/flutter_map/issues/203#issuecomment-460014348,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALluZQs8N-qM8jOHxOGrGuq5C0ECpbyXks5vJjo7gaJpZM4Z15-S
.
Haha I'll consider setting up a patreon... I should have more time to look through all the issues soon. I'm excited by all the usage this is getting.
Feature released in 0.5.0 : https://github.com/johnpryan/flutter_map/pull/204
This issue can be closed.
Most helpful comment
Haha I'll consider setting up a patreon... I should have more time to look through all the issues soon. I'm excited by all the usage this is getting.