Hey,
is it possible to change the Viewer/Timeline/Animation timezone without overwriting Cesium functions ? Only the displayed time would be ok too.
Thanks
Hey,
is it possible to change the Viewer/Timeline/Animation timezone without overwriting Cesium functions ? Only the displayed time would be ok too.
Thanks
JulianDates are always in UTC. You can customize the string representation by replacing the dateFormatter and timeFormatter of the AnimationViewModel.
http://cesiumjs.org/Cesium/Build/Documentation/AnimationViewModel.html
The strings in the timeline are created by the makeLabel function. There’s no documentation for this (the Timeline widget needs an overhaul) but the function to be replaced is here in the source.
https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Widgets/Timeline/Timeline.js#L315
Hi Go Ha,
Are you able to change the timezone in the Cesium??? If yes, please reply to me as soon as possible…as i need help in changing timezone. I am quite a beginner in Cesium code… thank you
Best regards,
abdullah