Just downloaded 1.5 RC1 and in the examples->"enhanced map viewer" (mapbuilder\examples\mapViewer\index.html), the lat/long grid doesn't line up with the lat/long provided by the cursor track.
Darren -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of olivier.terral Sent: 04 January 2008 15:24 To: Gertjan van Oosten Cc: [email protected] Subject: Re: [Mapbuilder-users] Real time Hi all, There is a refreshLayer function to refresh just one layer in MapPaneOL.js file. With a little hack you can probably use it with timer tool. Gertjan van Oosten a écrit : > 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, > ------------------------------------------------------------------------- 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
