DataSource "show" property has no effect.

I have a project that loads ~5 CzmlDataSources for its display, and I have a button which should toggle the visibility of one of the dataSources. However, changing the value of dataSource.show has no effect. Any suggestions? I can provide more info if needed.

Hello,

I wasn’t able to reproduce this. Here is an example for how I was setting the show property on the datasource:

var promise = viewer.dataSources.add(Cesium.CzmlDataSource.load('../../SampleData/simple.czml'));
promise.then(function(datasource){
    datasource.show = false;
});

``

If that doesn’t fix your problem, can you please provide a code sample to reproduce it? Thanks!

Hannah