How to show/hide individual features from GeoJsonDataSource?

I’ve added 500 features using

var promise = Cesium.GeoJsonDataSource.load(testdata);

promise.then(function(ds) {


var ent = dataSource.entities.values;

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

entities[i].ellipsoid = {…}

console.log(“added ellipse”);



My problem is, nothing shows up and the console.log statement does not print out. What is the issue? I don’t want the billboard.


Have you seen this GeoJSON demo?

The last example “Custom Styling” shows you how to change properties of the entities after they are loaded by the GeoJsonDataSource.