ThinkGeo.com    |     Documentation    |     Premium Support

Map Refreshing

Are there actions that cause an automatic refresh of the map (such as locking/unlocking overlays or opening and closing feature sources, extent changes or anything else)?.


We are getting refreshes that happen unexpectedly. For example 2 or 3 aborted map draws during initialisation of our map display.


If so is there any way to ensure refresh is only triggered manually?


 



Gordon,


Thanks for your post!
 
In desktop edition (3.0.362 RC), there would be 2 ways which will automatically Refresh the MapControl besides you call it manually.
 
1)      When the Map Control is operated with Mouse like TrackZoomIn, Pan etc.
2)      OnPaint will automatically refresh the Map while the extent keeps. For example, minimize & maximize the MapControl or Hide or show the map with some external stuff(like a notepad etc).
 
Any more questions please feel free to let me know.
 
Thanks.
 
Yale