You'd need to do it with an external Javscript procedure.

function refreshMyLayer() {
   MyLayer.params['TS'] = (new Date()).time();
   MyLayer.redraw();
}

setTimeout(refreshMyLayer, 500);



----- Original Message ----
> From: Bob Basques <[email protected]>
> To: [email protected]
> Sent: Thursday, January 8, 2009 1:27:31 PM
> Subject: [OpenLayers-Dev] Openlayers and auto-refresh (GPS project)
> 
> All,
> 
> After a quick search, didn't find anything directly about the topic for OL.
> 
> Anyone have pointers to an example of Tracking (centering a Map) 
> automatically 
> with OL?  I have a (or will have) a service to provide the map 
> panning/zooming 
> controls, but how to set up a caller from OL?
> 
> Just learning the basics with OL here, figured this was a good little project 
> to 
> build OL expertise from.
> 
> Thanks
> 
> bobb
> 
> 
> _______________________________________________
> Dev mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/dev



      
_______________________________________________
Dev mailing list
[email protected]
http://openlayers.org/mailman/listinfo/dev

Reply via email to