Showing/hiding groups of entities with overlap...


In Cesium, it is possible to create entities which have a common parent and show (or hide) those entities by showing or hiding their parent, as seen in the “Show or Hide Entities” Sandsactle example.

However, there can only be one parent per Entity, and as such this does not work if you have groups of entities with overlap (i.e. group A with elements 1,2 and 3, and group B with elements 3,4, and 5. Is there a way to do something similar in that case without creating your own entity group data structures and managing the state manually for the individual Entities?


Hi Tim,

There isn’t anything like that built into Cesium. You will have to keep track of which entities need to be toggled in your code.