[OpenLayers-Users] KML Caching

Tobias Reinicke ramotswa at gmail.com
Wed Jan 11 05:34:06 EST 2012


Hello All,

I know this topic has been thoroughly discussed, but bear with me.

I have a kml layer with the url appended with a ?random="+Math.random();
The kml also has a refresh strategy.

The kml file is on the web server and is updated periodically by
another process, but the name always renames the same.

What I'm seeing is that the random number isn't changing. Should the
refresh strategy do this? Do I need to destroy the layer and recreate
it in another way to flush it out?

Regards,

Toby


More information about the Users mailing list