Multi-select objects in Cesium (GeoJson file)

I have a GeoJson file that shows few states of the USA.
showing the attributes of Name, Id, and Area.

I want to be able to select several objects at the same time (i.e. ctrl+ mouse click), then run some JS statistical analysis on them.

Is it possible?

Thanks in advance

Hi there,

This is definitely possible. What you’ll want to do is override the click handler (here are some nice code examples http://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Picking.html&label=DataSources) to add picked entities to a list, then run your custom analysis function on them.

Hope that helps,

  • Rachel