loop kml

636
2
10-06-2011 12:39 PM
AndreSmit
New Contributor
How would I loop this kml without constantly refreshing? It contains links to a number of radar images spaced at 5 min. intervals. I'm considering extracting the images and generating a gif-ani - but this seems overkill. Any suggestions?
0 Kudos
2 Replies
derekswingley1
Frequent Contributor
At 2.5, the KMLLayer can handle time. Time-enabled KML seems to be almost non-existent on the web but our KMLLayer does work with vector features. When you create a KMLLayer with time enabled features, you can then connect your layer to a time slider.

Unfortunately, your time enabled features are ground overlays. In it's current state, the KMLLayer doesn't work with time enabled ground overlays. I'll see if we can get this in for the next release.

Until then...it'll take some work. My first thought is to still use a KMLLayer, pull out the map images that are returned, parse the name property since it contains the time and then set up a way animate through them. You could still use a time slider...
0 Kudos
AndreSmit
New Contributor
Good to hear - thanks for heads up.
0 Kudos