Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
Performance hints
posted

I just downloaded the map control and started playing around with it.  As a test, I created a single map and loaded a shapefile containing all the counties in the United States (~3300 items, filesize 1.4MB for shp, 850K dbf).

The resulting map is very laggy when you try to pan and zoom.

Are there any tips for improving this performance? 

Parents
No Data
Reply
  • 28496
    Offline posted

    try setting the VisibleFromScale property on that layer so that it's only visible when zoomed in to a small portion.  then, include another MapLayer which is a shapefile of the entire US, or perhaps US States.  that layer will be visible when the county layer is not visible.  this setup will perform better, and is usually preferable for viewing as well.

Children
No Data