Andrew,
Not sure if you found a solution, if not, this is what I've done.
In the map init function, set a timer:
window.setInterval(raingaugeRefreshData, 600000, rainGauges);
Then in the timer service function:
function raingaugeRefreshData(layer)
{
layer.loaded = false;
layer.setVisibility(true);
}
By setting loaded to false then calling setVisibility(), openlayers goes and
grabs the kml file again.
Hope this helps.
Dan
--
View this message in context:
http://n2.nabble.com/KML-NetworkLink-and-auto-refresh-tp2531433p2870627.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users