none
Performance Issue While adding large no of Pushpin Shapes RRS feed

  • Question

  • Hai,

    I am developing a map application showing different locations around the world using different pushpin based on certain conditions.I imported some data for this requirement and tried to show this information on the map.There where about 5000 pins to be shown on the map.The map application loaded loaded initially too slow and also the zoom options also became slow.Is there any way to improve the performance of the application.Is there any way to cluster the pins to improve the performance .I am using v6.3

    Wednesday, April 17, 2013 9:58 AM

Answers

  • This is a common issue that you will get with any JavaScript based mapping tool. When you create a pushpin it generates HTML markup which gets updated as you move the map. The more pushpins you have the more updates needed. One common way around this issue is to implement clustering. For v6.3 of Bing Maps take a look at this article I wrote 6 years ago: http://msdn.microsoft.com/en-us/library/cc161072.aspx

    Note that v6.3 is really old and has not seen an update in several years. I highly recommend that you look at using the newer and faster v7 control of Bing Maps. v7 has more features, is much smaller and is faster than v6.3. If you decide to use v7 you can find clustering modules along with some other useful tools here: http://bingmapsv7modules.codeplex.com/


    http://rbrundritt.wordpress.com

    Wednesday, April 17, 2013 12:52 PM
  • Thanks for the reply,

    I implemented clustering and the performance has improved a lot for the initial loading.As you suggested i will try to implement the application using V7

    • Marked as answer by anoops0507 Thursday, April 18, 2013 12:13 PM
    Thursday, April 18, 2013 7:07 AM

All replies

  • This is a common issue that you will get with any JavaScript based mapping tool. When you create a pushpin it generates HTML markup which gets updated as you move the map. The more pushpins you have the more updates needed. One common way around this issue is to implement clustering. For v6.3 of Bing Maps take a look at this article I wrote 6 years ago: http://msdn.microsoft.com/en-us/library/cc161072.aspx

    Note that v6.3 is really old and has not seen an update in several years. I highly recommend that you look at using the newer and faster v7 control of Bing Maps. v7 has more features, is much smaller and is faster than v6.3. If you decide to use v7 you can find clustering modules along with some other useful tools here: http://bingmapsv7modules.codeplex.com/


    http://rbrundritt.wordpress.com

    Wednesday, April 17, 2013 12:52 PM
  • Thanks for the reply,

    I implemented clustering and the performance has improved a lot for the initial loading.As you suggested i will try to implement the application using V7

    • Marked as answer by anoops0507 Thursday, April 18, 2013 12:13 PM
    Thursday, April 18, 2013 7:07 AM