ThinkGeo.com    |     Documentation    |     Premium Support

Panning/zooming/drawing speed

Am testing a WPF project using Mapsuite Desktop. The shape files i use is around 50 meg only. When i do panning, zooming the map, and drawing shapes (polygon, rectangle and ellipse), everything is slow. For example, when drawing a rectangle (


wpfMap1.TrackOverlay.TrackMode = TrackMode.Rectangle;


user click and hold, then move the mouse, the rectangle takes 1.5 - 2 seconds before it appear on the screen. Also, when panning, it takes around same delay for the map to refresh. It looks there are always noticeable delays when manipulating any object on the map. i understand Mapsuite 3 has caching capabilities, but im not familiar. If the computer has more-than-enough memory of 4 to 8 Gig, what is the best way we can do to eliminate delays, not consideing memory consumption?  (am thinking to even caching the whole map for certain zoom levels)


 



Ric,


Thanks for your post, about the performance stuff, could you try the sample appliction in our HowDoI sample to see if there is any performance difference with your application.
Getting Started\ Track and edit shapes
 
If the answer is yes, I think this issue is related with your data size which could somehow be solved with the using of TileCache system.
 
Currently, we have provided a couple of TileCache systems for use in different scenarios, you can get more informations from following post:
gis.thinkgeo.com/Support/Dis...fault.aspx
 
Any more questions just feel free to let me know.
 
Thanks.
 
Yale

Ric, 
  
   I few items first off.  What version of the map control are you using?  You can call the GetVersion on the main map control.  This is the most reliabel way to tell.  We made many improvements in the last month or so and what you describes sounds like thing before those improvements.  The second item is can you see how long your layers are taking to draw.  You mention 50 megs of data and while that does not seem like allot if you draw all 50 meg to the screen that would be allow of data.  It is not about how large your data is but how much of it is drawing to the screen.  You can check a DrawingTime and LabelTime API on the layers themselves and also on the overlays.  Zoom about a bit and check these numbers, they reflect the last time that object was drawn. 
  
   It shows you about 85 posts, is this the first time you posted about performance?  I am curious is the map has always had this performance or this is just now that you are testing the Wpf version?  Can you send me at support@thinkgeo.com a a few screenshots of your map at the extents it is slow at?  Are all of your data shape file?  Did you build the spatial indexex for all of the layers?  I think this goes beyone the tiling quite possibly.  Are you usng single or multi threaded mode?  Do you call the Refresh() with no parameters often or do you use the overload theat allows you to specify overlays? 
  
 David