Topics: Help
May 25, 2012 at 12:12 PM


I've just discovered GMap.Net, great tool! And have a some questions regarding the tile cache.

Is there a limit on how much data is cached (excluding disk size)?

Is it possible to set a limit on the size of the cache?

Is it possible to empty the cache?

Is it possible to automatically cache all tiles at all zoom levels for a given area? (The users of my app may not have internet access all the time, or at any time, so I would like to pre-cache the required map data.)


Thank you


May 25, 2012 at 1:10 PM
  • limit is 2TB
  • map.Manager.PrimaryCache.DeleteOlderThan(DateTime.Now, null); // check the demo source...
  • there is tile prefetcher in demos, you can use it or adapt in your own app
May 25, 2012 at 1:25 PM

Thank you for the swift reply. I missed the prefetcher in the demo.

Looking at my cache file it appears to be limited to 256MB. Is the limit changeable in code?