1. A concise explanation of the problem you're experiencing.
I am trying to show/hide a rectangle graphics entity, but when I change it to true/false the entity shows up on the globe no matter what.
When the program first starts, I add a bunch of entities to viewer using viewer.entities.add(entity);
Then, I have attached a checkbox to show, or not show, the entity. I know that this works, because stepping through the firefox debugger does reveal that the "show" value for entity is actually being changed, but to no result on the globe.
2. A minimal code example. If you've found a bug, this helps us reproduce and repair it.
for example,
entity.show = false;
(does not remove the entity from the globe)
3. Context. Why do you need to do this? We might know a better way to accomplish your goal.
I would like to toggle between showing and not showing the entity.
4. The Cesium version you're using, your operating system and browser.
Cesium 1.7.1, Rel7, Firefox