I'm trying to hide/show billboards based on the country they are in (this is selected in a controls box).
When I first add all of the billboards, they show up on the map fine.
When I try to set show to false, I can see (thank you developer tools) that the actual method in Billboard.js is being called.
However, the billboards are all still showing on the map.
If I put a breakpoint in the 'get' function, I see that it's called by updateObject, and the show value is true.
What is going on here?
Am I not doing this right?
I am accessing the billboards through the billboardcollection, through the primitives, through the viewer.
Thanks, and I hope you all can help!