ThinkGeo.com    |     Documentation    |     Premium Support

Panning in MS 3.0 is much slower than 2.x

Hi.


I recently migrated to MapSuite 3.0.


I made a simple application showing a shape file in 2.0 and 3.0.


The panning speed is much slower (and laggy) in 3.0.


I built a spatial index file with the following code, and loaded it.


ShapeFileFeatureLayer.BuildIndexFile(@"Countries02.shp");   // this code is not contained in the attachment code. but i ran it to make an index file.


And when I drag the map to pan, I can see a significant lag which I can't find in 2.0.


Please help me with it.


I attached my test code.


 



1761-MapSuite_3.0_Pan_Test.zip (71.6 KB)

Hi seungwoo, 
  
 You need to turn on the tiling system 
 eOverlay.TileCache = new FileBitmapTileCache(getTemporaryMainFolder(), “staticOverlayTileCache”);  
  
 But even with that turned on, my end-users find MS3 much more slower than MS2 and it’s a pity. 
  
 Regards, 
 Patrick.

Thanks, Patrick. 



I still feel lag while panning the map. It's choppy. 



 


I'm running the map in 1920x1080 size window with the most recent evaluation version of Mapsuite desktop 3.0


 



I found that it is as smooth as in 2.0 to pan in MapSuiteExplorer 3.0. 
  
 The difference is that my application redraws “Unlicensed” every time I pan the map and the MapSuite Explorer holds redrawing as long as the mouse button is pressed down. 
  
 However, I couldn’t find the related property for that. 


I took a video comparing the speed of MapSuiteExplorer and my simple application. 
  
 youtube.com/watch?v=k41TkwWP8Ts 
  
 They are using the same shape file. and my application is doing nothing instead of displaying the map. 
  
 All map settings are set to ‘high speed’ and I changed between single thread and multi thread mode… anything doesn’t help. 
  
 now I wait for your help. :( 


Seungwoo, 
 Sorry for the delay because our spring festival time now. 
  
 I diid some optimization on panning both on Winforms and WPF map control. If you want, you could get the latest version to see its performance now, it was expected to be half time or lees now. 
  
 Any more response would be appricated. 
  
 Thanks. 
  
 Yale 


I wish you are enjoying the festival :D 
  
 I’m happy to try your new update. Where can I get it? 
  
 Thanks.

Seungwoo, 
  
 Thanks for your words. 
  
 Just read the folllowing post to get more information about getting the latest build. 
 gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/16/aft/7065/afv/topic/Default.aspx 
  
 Thanks. 
  
 Yale