Quantcast

refreshing a single layer

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

refreshing a single layer

Ryan Moquin
I saw that a bug fix is included in head to allow refreshing of a named layer (MAP-482).   Will this work with something like the mergeModel example?  I was wondering if I could refresh the merged model only at an interval.  I tried passing in a layerName parameter, but my timer still seems to refresh all the layers...

Thanks!
Ryan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mapbuilder-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: refreshing a single layer

Andreas Hocevar
Hi,

On Thu, Feb 7, 2008 at 6:33 AM, Ryan Moquin <[hidden email]> wrote:
> I saw that a bug fix is included in head to allow refreshing of a named
> layer (MAP-482).   Will this work with something like the mergeModel
> example?  I was wondering if I could refresh the merged model only at an
> interval.  I tried passing in a layerName parameter, but my timer still
> seems to refresh all the layers...

>From what you describe I would say that you do the refresh on the
Context model. But for the GmlRenderer to refresh, you would have to
do it on the FeatureCollection model (the parent model of the
GmlRenderer).

Regards,
Andreas.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mapbuilder-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
Loading...