AccessMode.ServerAndCache seems to not pull from the cache?

Topics: Help
Feb 13, 2013 at 6:07 PM
I'm having an odd issue I can't seem to troubleshoot. When I open my map, I do a quick check to see if there is Internet access and then I set the AccessMode appropriately via:
    System.Net.IPHostEntry e = System.Net.Dns.GetHostEntry("");
    MainMap.Manager.Mode = AccessMode.ServerAndCache;
    InternetDetected = true;
    MainMap.Manager.Mode = AccessMode.CacheOnly;
    InternetDetected = false;
This normally seems to work fine.

But late'y I've been using my application on my laptop with a cellular modem for Internet access. So the map is put into the ServerAndCache AccessMode when the application launches. But whenever I lose cellular service, even though I have map tiles pre-fetched, the map data does not appear. I know I have the data pre-fetched because I can run the application in CacheOnly mode and I see the data. But in ServerAndCache mode, when the Internet access is cut, the data is not being fetched from the cache.

Any tips?
Feb 13, 2013 at 6:23 PM
make GMapProvider.Timeout smaller or just manualy set for cache only mode
Feb 13, 2013 at 6:56 PM
What is the default Timeout? It seems like I can sit with the map up for several minutes and still the tiles will not load from the cache. I've considering manually switching from ServerAndCache mode to CacheMode like you suggest but then I need to actively monitor the Internet connection.