Select entire CZML document


I am loading several (indepedent) CZML documents containing polylines, billboards and points.

I nowwant to change the color and/or width of all the polylines belonging to the same document as a clicked entity.

Any hints are most welcome.


Hi Klaus,

You’ll want to load your CZML document using CzmlDataSource, then iterate through the entities from that dataSource and apply custom styling to them. It should look similar to this example:

Hope that helps!

  • Rachel

Sorry for not being clear enough, Rachel.

My problem is retrieving the parent document from the entity being selected by a mouse click.


Hi Rachel,

your hint actually pointed me in the right direction: Entity#EntitiyColection seems to be the link back the Root ‘Document’ I was looking for.

Thanks for your help,