Entity Grouping vs Collections

I have an application that will use a lot of the features within cesium at the same time. I’ll have 100-5000 billboards, lines, 3D objects, and kml objects all being drawn at the same time. I also need to have some level of grouping which seems to be mostly supported through the parent property of the entites member add method. I’m just curious if anyone has any advice of the best practices when it comes to using Collections vs Entities for grouping. Should I use billboard collections for the billboards? and are their any options for grouping with in a collection?

TIA,

Scott

Hello Scott,

We’re trying to encourage people to use the Entity API instead of BillboardCollections and PolylineCollections. As you noted, you can group entities using the parent property.

In case you haven’t seen it, here is an example of how to group entities: http://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Show%20or%20Hide%20Entities.html&label=Beginner

Best,

Hannah