Highlighting/indicating selected CZML objects

Hi All,

Is there a way to highlight/indicate CZML objects that are selected?

I know that for points there’s a targeting lock icon around selected points, but there doesn’t appear to be anything similar if I were to select a polygon or polyline.

  • Jackie

Currently, the viewerEntityMixin doesn’t automatically compute a centroid position for graphics that are defined using a list of positions.

However, if you compute such a position yourself and define the position property on the entity, the selection indicator will use that position, even though the polygon doesn’t.

For example, if you look at the simple.czml file, the polygon for Pennsylvania shows a selection indicator because it has a position property.