flutter-maplibre-gl
flutter-maplibre-gl copied to clipboard
Size of downloaded offline regions
Is it possible to get metadata about the downloaded region such as the date the download took place and the disk size taken up by the region on disk?
We still need to work on the download. The priority is to allow more control over the ambiant cache.
@mariusvn ok, no worries, thanks
@mariusvn What is the size of the tile downloaded, is it 256x256px or 512x512px, for the region, I can calculate the number of tiles, so if i know the size of one standard tile, i can multiply and get an approximate size
here are for 256x256 for png, should be 262.14KB and here are for 512x512 for png shoud be 1.05MB
but there are lossless png compression sometimes so, it can change quite a lot. The numbers up there are for uncompressed pngs
@mariusvn no, my question was, do the plugin download 256x256px or 512x512px tile?
depends on your source settings, it can do both. I think the standard one is 256