DataSource visibility issue

This seems like this should be really simple, but I'm not able to get my datasource to re-show. I can get it to load and hide, just fine.

datasource = new Cesium.GeoJsonDataSource(ID);

During a click event I'm looping through my list of datasources:

viewer.dataSources.get(x).name === ID
and returning back this datasource.

I'm setting its visibility to = ishidden;

The data loads fine and hides without an issue. It just never re-shows. Why is this occurring?


I was not able to reproduce this. Here is the example I tested with:

var viewer = new Cesium.Viewer(‘cesiumContainer’);

var ds = viewer.dataSources.add(Cesium.GeoJsonDataSource.load(’…/…/SampleData/ne_10m_us_states.topojson’));

Sandcastle.addToolbarButton(‘Basic styling’, function() {
ds.then(function(datasource) { = !;


What version of Cesium are you using? We did fix a show/hide bug in the 1.27 release that just came out.



We're using 1.26 on the latest version of IE11 (intranet). I'll have to look into getting the newest version, then, though it might take some time.

Thanks for your help.

Ah okay. There was a show/hide bug for billboards that was introduced in 1.26 and fixed in 1.27. I’m guessing that’s what’s causing the problem.