I’m having trouble with this change.
My current code:
viewer = new Cesium.Viewer(‘cesiumContainer’, {
animation : false,
baseLayerPicker : false,
fullscreenButton : true,
geocoder : false,
homeButton : false,
infoBox : false,
sceneModePicker : false,
selectionIndicator : true,
clock : new Cesium.Clock({
startTime : new Cesium.JulianDate(jDay, jSec),
currentTime : new Cesium.JulianDate(jDay, jSec),
stopTime : new Cesium.JulianDate(jDay, jSecStop),
clockRange : loopVal
}),
timeline : !Boolean(liveUrl),
navigationHelpButton : false,
navigationInstructionsInitiallyVisible : false,
scene3DOnly : true,
imageryProvider : bingImagery,
//imageryProvider : esriImagery,
mapStyle : Cesium.BingMapsStyle.AERIAL,
terrainProvider : agiTerrain,
// orderIndependentTranslucency : false, // hack to prevent Safari/Chrome crash
shadows : true,
useDefaultRenderLoop : false
});
Simply changing
“clock: new CesiumClock({…” to
“clockViewModel: new CesiumClock({…”
doesn’t work.
I’ve read through issue #5289 but don’t get it. Sorry.
Thanks, M.