flutter-maplibre-gl icon indicating copy to clipboard operation
flutter-maplibre-gl copied to clipboard

[New Feature Wanted] Get cache Size - Clear cache

Open GaelleJoubert opened this issue 2 years ago • 5 comments

It is my understanding that every tile browsed online, is saved in cache, and is still available later, if oflline.

It would be great to have a function which return the total size of data stored in cache, and also a second one, which would allow to clear that cache.

Is there already a way to do that ? I could not find anything about it.

Thanks you for your help.

GaelleJoubert avatar Feb 20 '23 14:02 GaelleJoubert

Would be nice indeed. I also rely a lot on the offline storage and this is clearly a missing feature. The feature is present in the native library so i think it would not be a pain to do. I'll check next week.

mariusvn avatar Feb 24 '23 11:02 mariusvn

Would be nice indeed. I also rely a lot on the offline storage and this is clearly a missing feature. The feature is present in the native library so i think it would not be a pain to do. I'll check next week.

That would be amazing ! Thanks ! The same way, if it would be possible to add a functiun to get the size of a downloaded region that would be great !

GaelleJoubert avatar Feb 24 '23 11:02 GaelleJoubert

yeah i'll try too

mariusvn avatar Feb 24 '23 13:02 mariusvn

Hello @mariusvn , any news on this feature ? :)

GaelleJoubert avatar Mar 27 '23 12:03 GaelleJoubert

not at the moment, didn't have the time to work on it rn, idk exactly when i'll have the time :/

mariusvn avatar Mar 27 '23 13:03 mariusvn