How to use timeline widget with different WMS time steps

Hi All,

I am discovering Cesium and its capacity to display WMS ressources
with Cesium.WebMapServiceImageryProvider function.
It works, tiles are dynamically request to the server then render by Cesium

Now, how to manage the different time steps that are available from
the WMS ressource ?

For example, here is an extract of the WMS capabilities from a ressource


Is there a way to configure the timeline widget with those different timesteps.

Let me know if this topic rings a bell to someone.



I am facing the same issue!

Did you solve it? Or does anyone have an idea?

Thanks and regards,

Support for this is on the long-term roadmap, but we have no specific timeframe.

I’m wondering if you could extend the WMS provider to handle the time parameter. From there you could define a callback method on the clock.tick to decide if the time variable on your custom wms provider should be updated.

You’ll want to be careful on how often you’re updating that variable and I’m not sure if you’ll have to call a refresh imagery to have Cesium detect it needs to refresh the layer’s tiles.

Might not be too bad, but I have not done it so my approach could be horribly off base. Kevin Ring, who wrote the original WMS provider might be able to provide some additional advice as well.


I had to deal with something similar with custom json data and being able to select a time range and hide/show data based on a time range.

I rolled my own time time widget using

depending on your scenario you may want to look at something like a standard

jquery slider

or something like


We have support for the WMS Time dimension in National Map / TerriaJS, using Cesium’s normal animation / timeline controls. It’s a pretty simple scheme, though. We create one WebMapServiceImageryProvider for the current time, and another for the next time with the layer’s alpha set to 0 (so it doesn’t show up). Once we hit the next time, we remove the first imagery provider, set the alpha of the second to whatever it should be, and create a new provider with alpha=0 for the next time. If you’re just playing forward at a moderate rate, it’s pretty smooth. If you jump around, there’s a bit of lag while the tiles download.

The code is here:

With some of the important time-related functionality in the base class: