HallM / MapsForge-ios

An iOS port of the Java based MapsForge OSM mapping library using J2ObjC and native code.
GNU Lesser General Public License v3.0
10 stars 5 forks source link

Tile cache size calculator #5

Open HallM opened 9 years ago

HallM commented 9 years ago

Currently the cache just uses a fixed value for the cache size. Not yet sure the best way to calculate both the In memory cache size and the on disk cache size. If some formula cannot be determined, possibly exposing a method for users to set the requested cache size may be sufficient.