Viisualizing the czml data

Hi everyone!

i want to get some guidance

i am streaming the czml file in the cesium viewer which is the orbit of a satellite,
the czml data is set to “multiplier”: 60, ie 60 its velocity, which can be set to 1 to stream it at its original speed but still to view the satellite on the current time
the little clock has to be clicked on the bottom left corner of the cesium viewer gadget,
now i was trying to figure out a way to do this all automatically without clicking on the little clock gadget but directly using some cesium method in my code to do that,
my code is as follows;

html, body, #cesiumContainer { width: 100%; height: 100%; margin: 0; padding: 0; overflow: hidden; }
var viewer = new Cesium.Viewer('cesiumContainer'); var dataSrc = Cesium.CzmlDataSource.load("data.czml"); viewer.dataSources.add(dataSrc); var clock = viewer.clock;

Thanks

Hi Romail,

Here’s a quick example for manipulating the clock widget programmatically. http://cesiumjs.org/Cesium/Apps/Sandcastle/?src=Hello%20World.html&label=Showcases&gist=3ec64bdaee52acb063819143df310583

For more options and detail, checkout our documentation of the clock class: http://cesiumjs.org/Cesium/Build/Documentation/Clock.html?classFilter=clock

Hope that helps!

  • Rachel

Thanks Rachel!