WebMapTileServiceImageryProvider Update Continuous from Current Date/Time

I was reviewing the sandcastle example on updating the WebMapTileServiceImageryProvider data source with a provided date span…

Would you have an example of simply updating the WebMapTileServiceImageryProvider data source starting with the current time and updating/incrementing forwarding as the clock progresses without an end?

I think the easiest way to do this might be to initialize the time interval starting at now and set a max of maybe a few years later. Does that work for you? You can get the current time with viewer.clock.currentTime or by creating a JulianDate from a JavasScript date:

Cesium.JulianDate.fromDate(new Date())

``

Hi Omar

I’ll give it a go, I think that will work. Seems a bit ‘hackish’ though. Seems like it would be nice if the Cesium API simply supported a pulling interval from a start-date/time.

Thanks!