I have several questions about caching and how to use it.
I want to enable cache so that I have the Dynamic panning effect. So I have that code:
winformsMap1.StaticOverlay.ClientCache.CacheDirectory = @"c:\CacheData\";
bool isCacheEnable = winformsMap1.StaticOverlay.ClientCache.EnableCache;
I still don't have the Dynamic Panning effect. What do I need to do to have the Dynamic Panning?
Also, if I want to clear all the existing Layers from the winformsMap and start from fresh to add new one, I call:
winformsMap1.StaticOverlay.Layers.Clear();
winformsMap1.DynamicOverlay.Layers.Clear();
But how do I also clear everything in the CacheDirectory? Or how do I Disable Cache after it has been enabled? Thank you.