How to empty local tile cache

Topics: General
Nov 2, 2012 at 4:46 PM

I would like to be able to problematically empty the tile cache when using a GMap control in ServerAndChache mode. 

Is there a specific method I can use on a GMapControl to empty the tile cache for that control? I am using the WinForms version of GMap.NET

Thanks.

Nov 2, 2012 at 4:56 PM

map.Manager.PrimaryCache.DeleteOlder...

Nov 2, 2012 at 7:30 PM
Edited Nov 2, 2012 at 7:33 PM

Thanks, I appreciate the help. However, map.Manager does not seem to have a PrimaryCache property. I am using v1.6 WinForms. Is this feature present in this version?

 

The properties of map.Manager I see are:

 

CacheOnIdleRead

CancelTileCaching

DeserializeGPX

DisableCodePlexAnalyticsPing

Equals

ExportGPX

ExportToGMDB

GetHasCode

GetImageFrom

GetType

ImageCacheLocal

ImageCacheSecond

ImportFromGMDB

IsRunningONMono

MemoryCachecapacity

MemoryCacehSize

Mode

OptimizeMapDb

SerializeGPX

ShuffleTilesONLoad

SQLitePing

ToString

UseDirectionsCache

UseGeocoderCache

UseMemoryCache

UsePlacemarkCache

UserRouteCache

Nov 2, 2012 at 7:32 PM

i think in the old version there is no such function

Nov 2, 2012 at 7:59 PM

Ok, cool. I am using 1.6 (power) from the download on the main page. Which version would you recommend using that is the most stable and has this function?

Nov 2, 2012 at 8:14 PM

latest