I don&#39;t know if this helps, but the Fusion Buffer widget does this.  It looks like the magic it uses is to have a callback (bufferCreated) that does the reloadMap and drawMap operations:<div><br></div><div><a href="http://trac.osgeo.org/fusion/browser/trunk/widgets/Buffer.js#L217">http://trac.osgeo.org/fusion/browser/trunk/widgets/Buffer.js#L217</a></div>
<div><br></div><div><a href="http://trac.osgeo.org/fusion/browser/trunk/widgets/Buffer.js#L217"></a>You could have a look at the back end code to see if it&#39;s doing anything different...</div><div><br></div><div><a href="http://trac.osgeo.org/fusion/browser/trunk/widgets/BufferPanel/Buffer.php">http://trac.osgeo.org/fusion/browser/trunk/widgets/BufferPanel/Buffer.php</a></div>
<div><br></div><div><a href="http://trac.osgeo.org/fusion/browser/trunk/widgets/BufferPanel/Buffer.php"></a>Jason<br><br><div class="gmail_quote">On 11 May 2010 19:06, miansi  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Hello,<br>
<br>
Finishing move from AJAX viewer to Fusion Viewer.<br>
<br>
Almost :-) everything work fine but refreshing map during runtime layer<br>
creation.<br><br></blockquote></div></div>