If you are using the stable version, to reload only a layer you can the solution I found time ago:
http://www.nabble.com/Reload-only-a-layer%3A-a-possible-solution-to9527216.html#a9527216 Maybe in the near feature I will try to make it work for mapbuilder 1.5 Luca Giandoso On Jan 4, 2008 4:05 PM, Gertjan van Oosten <[EMAIL PROTECTED]> wrote: > Hi Marcos, > > As quoted from Marcos Sánchez Provencio <[EMAIL PROTECTED]>: > > I have a 'rays' layer that displays rays in real time. How can I force a > > layer redraw every 10 minutes or so? > > > > Any pointers appreciated :-) > > Add a Timer tool to your Context like this: > > <Context id="mainMap"> > //... > <tools> > //... > <Timer> > <autoStart>true</autoStart> > <eventName>refreshWmsLayers</eventName> > <every>600</every> <!-- time is in seconds --> > </Timer> > </tools> > </Context> > > This will send the refreshWmsLayers event every 600 seconds. > [Note that MapBuilder currently has no way of refreshing just a single > layer, so this is your best shot.] > > Kind regards, > -- > -- Gertjan van Oosten, [EMAIL PROTECTED], West Consulting B.V., +31 15 2191 > 600 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Mapbuilder-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mapbuilder-users > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Mapbuilder-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
