JavaScript
mapControl.refresh Method
Syntax
mapObj.refresh();
Description
Refreshes a Map Control.
Discussion
When the map is initially placed in a hidden DIV, when the DIV is shown, the map may not be sized correctly in some browsers, such as Internet Explorer. This method forces a refresh of the map which will cause it to be rendered correctly.
Example
var mapObj = {dialog.object}.getControl('mymap1'); if (mapObj) { mapObj.refresh(); }