This is a migrated thread and some comments may be shown as answers.

Slowdown without internet

5 Answers 110 Views
Map
This is a migrated thread and some comments may be shown as answers.
Jason D
Top achievements
Rank 1
Veteran
Jason D asked on 14 Jun 2017, 05:07 PM
Greetings. I'm using 2014.3.1202.45, so it's possible this is already fixed. If the computer has a network connection, but the internet is not working, there is a delay of a few seconds when initializing the map. This happens when calling Map.Providers.Insert. If there is no network connection at all, this problem does not happen. Is there a way to shorten or eliminate this delay from my side or in the code?

5 Answers, 1 is accepted

Sort by
0
Accepted
Dinko | Tech Support Engineer
Telerik team
answered on 19 Jun 2017, 11:01 AM
Hello Jason,

Thank you for contacting us.

We weren't able to reproduce this behavior. It will be great if you can send us isolated project from your application which demonstrates this behavior. This way we can directly test it on our side. 

You can try downloading the latest version of our controls and check again if this behavior still appears.

Regards,
Dinko
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which you to write beautiful native mobile apps using a single shared C# codebase.
0
Jason D
Top achievements
Rank 1
Veteran
answered on 19 Jun 2017, 06:06 PM

I tried with the latest version and the problem appears to be much worse. It's not a specific sample project, it's how you test it. It took me awhile to find the right settings. For the sample project, just create a new project with a BingRestMapProvider using a Road map and your key. Nothing else needs to be done.

I used a virtual machine, but any machine will do. Change the TCP v4 properties for the network adapter to have fake settings for the address, gateway, and DNS. Starting the sample project will take 20-30 seconds.

If I use an OpenStreetMap provider, the software will open instantly.

0
Petar Mladenov
Telerik team
answered on 22 Jun 2017, 06:55 AM
Hi Jason,

There is no obvious reason your application to load so much time. You can try using JustTrace / other performance profiler, or try to pause the VS main thread in order to check / inspect problematic methods.
We made another test, following your instructions - edit the TCP / IP setting to stop the internet connection - RadMap loads for less than a second. We can prepare a vide of this test if you think it might be useful.
Can you test disabling all kind of firewalls / proxy servers at your side ?

Regards,
Petar Mladenov
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
Jason D
Top achievements
Rank 1
Veteran
answered on 22 Jun 2017, 03:30 PM
Weird. No proxies here and can't turn off the firewall. I will test at home where I can unplug the internet. The reason I'm looking into this is because our internet went out one day and the maps were very slow to load. In that case, everything was obviously configured correctly, there was just no internet.
0
Jason D
Top achievements
Rank 1
Veteran
answered on 23 Jun 2017, 02:51 PM
Retested at home with the new version and no internet and it is working properly while the old one does not. Previously I may have still been using the old DLL's; not sure. I'll see about getting approval to upgrade. Thanks!
Tags
Map
Asked by
Jason D
Top achievements
Rank 1
Veteran
Answers by
Dinko | Tech Support Engineer
Telerik team
Jason D
Top achievements
Rank 1
Veteran
Petar Mladenov
Telerik team
Share this question
or