I have previously asked this question to no avail so I thought putting this up here would be a good idea.
Here is an example on:
How to Refresh / Reload a KML layer in OpenLayers. Dynamic KML Layer. See my answer below.
TLDR: See my answer below.
embeddable-web-mapsopenlayers-2
I have previously asked this question to no avail so I thought putting this up here would be a good idea.
Here is an example on:
How to Refresh / Reload a KML layer in OpenLayers. Dynamic KML Layer. See my answer below.
TLDR: See my answer below.
Best Answer
Figured seen as it was hard enough for me to find information on this I would add this:
1)
Create the KML Layer:
2)
Set the URL for the KML Layer:
3)
Set the interval in which to refresh your layer:
4)
The function to update the layer:
Hopes this makes it easier for some others out there. Good luck.