Map is slow if assigning Bing provider

4 posts, 0 answers
  1. DMC Helpdesk
    DMC Helpdesk avatar
    52 posts
    Member since:
    Nov 2007

    Posted 29 Dec 2011 Link to this post

    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
  2. Evgenia
    Admin
    Evgenia avatar
    1406 posts

    Posted 03 Jan 2012 Link to this post

    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 >>

  3. UI for WPF is Visual Studio 2017 Ready
  4. DMC Helpdesk
    DMC Helpdesk avatar
    52 posts
    Member since:
    Nov 2007

    Posted 03 Jan 2012 Link to this post

    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
  5. Evgenia
    Admin
    Evgenia avatar
    1406 posts

    Posted 06 Jan 2012 Link to this post

    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 >>
Back to Top