pushpin limit?

i coded an app that integrates with the mappoint 2004 object (not web service) and there is a limit of 10k pushpins per map... is there a limit like this with virtual earth and/or mappoint webservice i have a client that may have more than 10k pushpins per map...


Answer this question

pushpin limit?

  • Squirre1

    Depending on the the data is structured (and related, spatially) you could look at both the clustering algorithm as well as the approach of locking the zoom level and as customers pan you map around, dynamically asynch-load and/or .Show .Hide respective layers that fall with the viewable map boundares. Are you using layer collections or individual calls to map.AddPushpin
  • Ashish Ojha

    There is a "realistic" limitation--when you add more than a few hundred pushpins, performance lags because of the way the browsers render graphics. You don't run in to this with the MapPoint active-x control on a winform, of course.

    Look through this forum, though: there has been a very recent discussion of "clustering" algorithms--a great way to handle a massive amount of pushpins on the map.


  • DesignerX

    Check the article at:
    http://viavirtualearth.com/VVE/Articles/Clustering.ashx

    Basically you need some other means to only show < 200 points on a VE map at one time. Firstly given the current view you can only show what is visible or following the article you can use some simple clustering so at high zoom level points are merged into a cluster, as you zoom in they break apart into their repective points. The article uses vb.net 2.0 to show 1 million points on Virtual Earth.
    John.


  • pushpin limit?