void setAutoRefresh(boolean autoRefresh)
Enables or disables the automatic refresh flag.
This method does not initiate a display refresh. You must call the refresh method to do that.
Calling the refresh, setURL, zoomGotoDlg, or zoomGotoLocation methods always invoke a display refresh, regardless of the automatic refresh flag setting. Also note that setAutoRefresh does not work when called from event-handling code for onViewChanging or onMapLoaded. If you call setAutoRefresh from these events, the method will fail and will set the error code to -14 (refresh disabled).
By default, intermediate updates of maps every 1.5 seconds during a drawing operation are enabled for all Autodesk MapGuide Viewers. This allows users to progressively see a map as it is being rendered, rather than waiting until the entire map is complete. To change this behavior, you can disable intermediate updates using the setIntermediateUpdatesEnabled method or IntermediateUpdatesEnabled property.
autoRefresh - Automatic refresh parameter. True to enable it; False to disable it.
-14 (refresh disabled)
getAutoRefresh, refresh, AutoRefresh, getIntermediateUpdatesEnabled setIntermediateUpdatesEnabled, IntermediateUpdatesEnabled