I want to toggle on or off the label show field of the czml from a button press. I read the czml data into a JSON array and then load it into the czmlDataSource. This allows me to select and de-select different satellites to view by just adding or removing them from the JSON array and then loading it back into the czmlDataSource. This part works.
When I try to change the value of label.show and reload it, it doesn’t change what is being displayed. It changes the field in the JSON because I can console log it but it doesn’t effect the viewer. Any ideas of how to do this?
It still doesn’t work for me. I don’t know if it is because I am using react. When I update the label.show field, it doesn’t get changed on the viewer until I reload it.