I know that. But do you expect that i code it for you? I don't really know answer to what ... anyway ...
For doing something like that, i suggest to you to set a simple timeout to your page, that will refresh the page with the zoom,position, active layers passed in parameter (www.mypage.com/myOL.html?zoomLevel=...). It's a simple solution. A better solution could be to simply set a timeout that reload the specified layer keeping the map properties and reapply them after the layer is loaded. Alan David Calle wrote: > *I need to refresh my page every 10 seconds to simulate a gps, without > losing the zoom, positon, active layers, etc...* > > > I'm working on MapServer and Open Layers, I have a publication of many > layers of a map file, the data comes from a postgres database. > > I added the code of the publication (html) file and the code of > the map file. > > Thanks... > > > ------------------------------------------------------------------------ > > -- Alan Boudreault Mapgears http://www.mapgears.com _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
