How to check an entity is clustered or declustered?

1. A concise explanation of the problem you’re experiencing.

I am looking for a way to check whether an entity gets clustered or declustered from a cluster.

2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.

I am using the clusterEvent callback function. What should I do from this point:

markersDataSource.clustering.clusterEvent.addEventListener(function(clusteredEntities, cluster) {
// check an entity is clustered or declustered


3. Context. Why do you need to do this? We might know a better way to accomplish your goal.

I have different behavior for entities and clusters on my map.

4. The Cesium version you’re using, your operating system and browser.

I am using ceisum 1.35, windows, and chrome browser

Or say, is there any way to divide the markers into two groups (clustered markers vs single makers) in the callback function?

Is there any event I could know that the markers get declustered?


So the clusterEvent callback function parameter only includes the entities that are included clustered. (

I have opened a new issue in the cesium repo to request declustered entities in the callback function: Please add comments there if you have any additional information to include.



Hi Gabby,

Thanks so much for help!