|
Arul
|
|
Hi,
I have simplovation map control(v.2) and a update panel with check boxes in the same page. The problem is that the response of the page is very slow if I click the check box for displaying the set of data(for another purpose) when the map is having more than 500 icons.
|
|
|
|
Chris Pietschmann
|
|
The performance issue you are experiencing when plotting 500 or more points actually has two possible causes:
- You are using the Web.Maps.VE Map control with the "AsyncPostbackPassShapes" property set to "true"; the default value. If you do not need to reference any of the currently plotted pushpins, polylines or polygons from within any of your server-side code via asynchronous postbacks, then you'll want to set this value to "false". The "Dynamic Search" example within the Sample Website demonstrates having this property set to "false". hen this property is "true" than all plotted shapes are serialized and posted back to the server with EVERY Asynchronous operation; consequentially when there's a lot of data plotted this can take a second or so to do.
- The Bing Maps JavaScript API Map Control itself actually starts slowing down when you have more than 300-500 Shapes plotted, and this is due to a performance limitation of the JavaScript code running in the browser. The best work around for this is to implement some type of "grouping". Grouping is the concept of showing a single Pushpin that represents a bunch of Pushpins within a specific area on the Map. Then when the user zooms in to a certain zoom level, you then show all the actually Pushpins within that area. This allows you to minimize the number of Pushpins currently plotted on the Map at any one time, and allows you to essentially work around this limitation of the Bing Maps JavaScript Control.
One additional work around you may be interested in trying if the Bing Maps JavaScript control doesn't offer you the performance you're looking for is to try out the Bing Maps Silverlight Control which offers much improved performance.
|
|
|