MapProvider changing and taking long time to change

Topics: General, Windows Forms
Jul 20, 2013 at 1:26 PM
Hi,
i cached the 2 map type which are google map and google hybrid
when i change the MapProvider to google map or google hybrid for the first time it takes so much time
for example in application when i change the map it takes 1 minute to change the MapProvider to google hybrid
why it just takes time for the first time and is there any solution to solve this?
thanks
Coordinator
Jul 20, 2013 at 2:21 PM
use release build
Jul 20, 2013 at 7:10 PM
Edited Jul 20, 2013 at 7:11 PM
radioman wrote:
use release build
I "ALWAYS" use release build
also, i tested demo winform exe file
it takes times to change the mapprovider
Coordinator
Jul 21, 2013 at 9:44 AM
do you work offline?
Jul 21, 2013 at 12:01 PM
radioman wrote:
do you work offline?
i cached the maps but i use the gmap this way

if (!isInternetConnectionAvailable)
{
gMapControl1.Manager.Mode = AccessMode.CacheOnly;
}
else
{
gMapControl1.Manager.Mode = AccessMode.ServerAndCache;
}

and isInternetConnectionAvailable is always true because PC is connected to internet!
Coordinator
Jul 21, 2013 at 12:33 PM
try debug google provider and find out where is the problem