Before saving a map for offline use, how can you tell how much map detail/zoom levels will be saved?
Is there a calculation based on the bounding box?
Thanks
Tom
Before saving a map for offline use, how can you tell how much map detail/zoom levels will be saved?
Is there a calculation based on the bounding box?
Thanks
Tom
Hi Tom,
there is a way to find out how many zoom levels we can save. We just didn't expose it. But you can use the following call:
map._map.maxStorableZoom(map.box);
The function calculates in this example the max storable zoom level based on the current bounding box of the map.
Is it good enough for you?
Leo
Yes, that helps.
Is there a way to know or estimate how much data will be sent before starting the download e.g. 5MB?
Thanks
Tom