Puspins cause slow downing the map

Last post 8/27/2008 10:38:27 PM by Chris Pietschmann. 1 replies. << Back to Web.Maps.VE v2.0 General
8/25/2008 11:45:57 AM
Arul

Puspins cause slow downing the map

Hi ,

    After I added more than 20 Custom Icon ( CustomIcon.Image)on the map (Web.Maps.VE v2.0.). The map seems to be very slow for the every event such as the onclik(it takes four to five seconds to reach code behind ) of the map and click events for Buttons usign Ajax.

8/27/2008 10:38:27 PM
Chris Pietschmann

Re:Puspins cause slow downing the map

Slower performance is one of the possible trade-offs that you need to deal with when using an abstraction layer such as this control. If you don't need to access the collection of currently plotted shapes, then just set the Map's AsyncPostbackPassShapes property to False. This will cause the map to not loop through all the plotted shapes on Async Postbacks and will improve the performance of the Map.