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

Map is slow if assigning Bing provider

3 Answers 116 Views
Map
This is a migrated thread and some comments may be shown as answers.
DMC Helpdesk
Top achievements
Rank 1
DMC Helpdesk asked on 29 Dec 2011, 10:25 AM
Hi,

I have been working on a project that uses RadMap with Bing provider for few months and everything seemed fine but recently I am seeing a delay of 13 seconds.The delay will not occur if I remove the code of provider assignment.

BingMapProvider provider = new BingMapProvider(MapMode.Road, false, "key");
radMap1.ZoomLevel = 12;
radMap1.Provider = provider;//delay will not occur if I remove this line
radMap1.Center = new Location(24.487987518310547, 54.483178253173828);

<telerik:RadMap Name="radMap1"  ZoomLevel="12" HorizontalAlignment="Stretch" Margin="0"  VerticalAlignment="Stretch"
            MouseDragMode="None" MouseClickMode="None"  MapMouseClick="radMap_MapMouseClick" MouseLeftButtonDown="radMap1_MouseLeftButtonDown" MouseLeftButtonUp="radMap1_MouseLeftButtonUp" MouseMove="radMap1_MouseMove"></telerik:RadMap>

Thanks

Madani

3 Answers, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 03 Jan 2012, 08:55 AM
Hi,

We haven't received such complaints (that the Map is slow when assigning a Bing Provider). There should be a different reason for this. Please provide us more details on your current RadMap implementation. It will be best if you can send us a sample project where we can reproduce this.

Greetings,
Evgenia
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
DMC Helpdesk
Top achievements
Rank 1
answered on 03 Jan 2012, 11:56 AM
Thanks for your reply.I am not able to attach the project file so I am sending you the zip file URL:
http://www.mediafire.com/?e57rdazs6fo32i2

Regards,
Madani
0
Evgenia
Telerik team
answered on 06 Jan 2012, 12:19 PM
Hi,

Thanks for the project attached. We have tried to reproduce the problem with slow loading application for a couple of seconds during initialization, but unsuccessfully. You may find a sample video attached with what we see on our side.
Could you try to create a sample solution which uses the open street map provider to check a time of initialization on your local environment?
If the initialization using the open street map provider is quick, then the frizzing can be a result of initializing of the Bing Maps imagery service. We use asynchronous request for it, but the code of WCF service client is generated by Visual Studio. So, we can't be sure completely that for example unstable internet connection can be the cause of this problem.

Kind regards,
Evgenia
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
Map
Asked by
DMC Helpdesk
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
DMC Helpdesk
Top achievements
Rank 1
Share this question
or