RadMap Performance

4 posts, 0 answers
  1. Nick Mckenzie
    Nick Mckenzie avatar
    1 posts
    Member since:
    Mar 2010

    Posted 24 Nov 2010 Link to this post


    We have a RadMap that is used to display support incidents on a nationwide level. Currently we need to display all the map pins over the country and there are lots of them. I cannot use a DynamicLayer because my customer wants to see all support incidents, color coded, on the map at once at the highest zoom level.

    My  current problem is that once we have more than 50 items in the InformationLayer the performance drops off rapidly. We currently have a collection of objects in our ViewModel that the InformationLayer is bound to. We are dynamically loading the support incidents based on filters set in the application.

    Is there a limit to the number of items that can be displayed on the RadMap? Is there a recommended approach for dealing with this?


  2. Andrey
    Andrey avatar
    1681 posts

    Posted 29 Nov 2010 Link to this post

    Hi Nick Mckenzie,

    It seems you have a problem with performance of information layer rendering that was in versions of map control up to 2010.Q2 SP2 (including).

    The Q3 2010 release has new engine of information layer with higher performance of panning and zooming. For example it works with about of 200-300 pushpin objects without any problem. Also when the shapes are simple like to a rectangle then it can work with 1000 and more objects.

    Could you please check the version of DLLs you are using? If you use version of map control earlier than 2010.Q3, please download latest internal build.

    Sincerely yours,
    Andrey Murzov
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  3. DevCraft R3 2016 release webinar banner
  4. Øyvind Øyen
    Øyvind Øyen avatar
    6 posts
    Member since:
    Feb 2010

    Posted 27 Jan 2011 Link to this post

    I just upgradede to the latest version of the Silverlight controls.
    Til now we have had every pin in a separat layer. This result in a few 100 layers at least, sometimes showing at the same time. Til now this has workt just fine, but with the latest version it does not work. So we are using a previous version of Telerik.Windows.Controls.DataVisualization.
    Maybe we shlukd put ore pins into the same layer, but several layers should not be a problem. It is easier when turning on and of, Adding and removing.

  5. Andrey
    Andrey avatar
    1681 posts

    Posted 01 Feb 2011 Link to this post

    Hi Øyvind Øyen,

    I'm sorry, but it is not clear for me what do you mean when say that multiple layers doesn't work in the latest version. Could you, please clarify? New version still supports using of the multiple information layers. I’ve tested latest version with 100 information layers with 1 pushpin in every layer. All things seems work fine. Here it is my code:

    LocationRect rect = new LocationRect(
         new Location(42, -122),
         new Location(36, -90));
    for (int i = 0; i < 100; i++)
        InformationLayer layer = new InformationLayer();
        Location location = new Location(
            rect.South + (rect.North - rect.South) * rnd.NextDouble(),
            rect.West + (rect.East - rect.West) * rnd.NextDouble());

    By the way, using the 100s information layers to show 1 pin point in each isn’t a good approach. It has less productivity than using 1 layer which shows 100s pins. Could you, please, explain reasons to do your things this way? There is no problems to turn on, off, add or remove item in the single information layer.

    All the best,
    Andrey Murzov
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Back to Top