Globe Frozen, but clock advances

1. A concise explanation of the problem you’re experiencing.

Adding polygons via geojson, did some edits to the clock/viewer and now globe is frozen, but I see that time is passing. Can’t seem to undo my error.

2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.

// var viewer = new Cesium.Viewer(‘cesiumContainer’, { infoBox : false });

var clock = new Cesium.Clock({

startTime : Cesium.JulianDate.fromIso8601(‘1990-01-01’),

currentTime : Cesium.JulianDate.fromIso8601(‘1990-01-01’),

stopTime : Cesium.JulianDate.fromIso8601(‘2018-12-31’),

clockRange : Cesium.ClockRange.LOOP_STOP, // loop when we hit the end time

clockStep : Cesium.ClockStep.SYSTEM_CLOCK_MULTIPLIER,

multiplier : 4000, // how much time to advance each tick

shouldAnimate : true // Animation on by default

});

var viewer = new Cesium.Viewer(‘cesiumContainer’, {

clockViewModel : new Cesium.ClockViewModel(clock)

});

var promise = Cesium.GeoJsonDataSource.load(‘/static/data/globe2.geo.json’);

promise.then(function(dataSource) {

viewer.dataSources.add(dataSource);

//Get the array of entities

var entities = dataSource.entities.values;

console.log("Total Entities: " + entities.length);

for (var i = 0; i < entities.length; i++) {

var entity = entities[i];

entity.polygon.extrudedHeight = entity.properties.TraffickingStats._value.Total * 1000;

objColor = entity.properties.color._value;

entity.polygon.material = Cesium.Color.fromCssColorString(objColor).withAlpha(0.5)

entity.polygon.outline = false;

// entity.availability = Cesium.TimeInterval.fromIso8601(entity.properties.Interval._value);

};

});

3. Context. Why do you need to do this? We might know a better way to accomplish your goal.

I am rendering a lot of geometries, maybe Ill serve the jsons piecewise, but it was working before.

4. The Cesium version you’re using, your operating system and browser.

Using Cesium 1.52 in Chrome, Thanks so much for your help!

exampleglobe.geo.json (60.2 KB)

none of the control buttons work either.

The GeoJSON you’ve uploaded isn’t valid (seems like it was cut off).

Are you getting any console errors in your application when it’s frozen like that?