[mapguide-users] Map/Legend refresh after MgResourceService.SetResource (Fusion)

Jason Birch jason at jasonbirch.com
Thu May 13 03:15:31 EDT 2010


I don'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:

http://trac.osgeo.org/fusion/browser/trunk/widgets/Buffer.js#L217

<http://trac.osgeo.org/fusion/browser/trunk/widgets/Buffer.js#L217>You could
have a look at the back end code to see if it's doing anything different...

http://trac.osgeo.org/fusion/browser/trunk/widgets/BufferPanel/Buffer.php

<http://trac.osgeo.org/fusion/browser/trunk/widgets/BufferPanel/Buffer.php>
Jason

On 11 May 2010 19:06, miansi  wrote:

>
> Hello,
>
> Finishing move from AJAX viewer to Fusion Viewer.
>
> Almost :-) everything work fine but refreshing map during runtime layer
> creation.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20100513/f2e5d6c6/attachment.html


More information about the mapguide-users mailing list