ThinkGeo.com    |     Documentation    |     Premium Support

Switching between threading modes / performance

Hi,


I've noticed that when the map is in MultiThreaded mode, the panning is smooth.  However, when I'm just updating a few features, the entire map will flash.


With SingleThreaded mode, I've noticed that panning is slow and choppy.  However, the entire map doesn't flash during a repaint.


I'm not sure why the map is flashing.  Please let me know how I can get the best of both worlds.  I don't want my map to flash and I want good panning performance.


I was thinking that perhaps I should leave my map in SingleThreaded mode until I perform a pan.  Then I switch to MultiThreaded mode.  When the pan is done, then switch back to SingleThreaded mode.  If that is the solution, then is there a way to determine when panning begins/ends?


Thanks,


Greg


 



 


Greg,
 
Do you still use the 3.1.299 version of DesktopEdition? We have fixed some performance issues in recently version, you can download them from helpdesk.thinkgeo.com.
 
To avoid the flicker under multi-threading mode, you can try to set the TileCache to the static overlay, and the dynamic overlay which you will update a few features you don't set TileCache.
 
For detail you can look at this post:
gis.thinkgeo.com/Support/Dis...fault.aspx
 
Thanks
James