Labels don't show for individual entities in datasources when clustering is enabled
See original GitHub issueIssue
Entities won’t show a label if their owning datasource has clustering enabled
Reproduction
Open this Sandcastle example, slightly modified from the basic Clustering demo, then toggle the “Enabled” checkbox. Be sure to zoom in enough that some entities are not clustered. Observe that individual (non-clustered) entities show a label when clustering is disabled, but the label disappears when clustering = true.
I’m not sure if this is a recent regression or not, as I’ve updated Cesium a number of times in the last 2 months and just started noticing the problem recently. In the example, the entities are created from a KML source, but in my application I observe the same problem with entities I create manually and control with a CustomDataSource.
Issue Analytics
- State:
- Created 6 years ago
- Comments:19 (16 by maintainers)
Top Results From Across the Web
Clustering entities with point and label is broken (label not ...
If I disable dataSource.clustering.clusterLabels , then the labels appear but they do not disappear when the points are clustered.
Read more >Get entities in a picked cluster - Google Groups
But now I am trying to enable clustering for my points, and I'd like to get a list of contained entities when a...
Read more >How to solve the clustering bug in Cesium? - Stack Overflow
I have found a bug in 1.28: I produced it by creating lots of entities with label. Howeveer, when I set the clustering...
Read more >cesium cannot clustering CustomDataSource immediately ...
When i replace the Sandcastle clustering data, using 1000 random points in CustomDataSource, the cesium cannot clustering CustomDataSource ...
Read more >Training using 'Clusters' - Support Centre - Re:infer
Once your data is in the platform, Re:infer will group and display 30 clusters of communications (verbatims) that it believes share concepts or...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@thw0rted it seems like that’s the issue. When applying the suggested fix from that issue I can see the labels in your original example. Here’s my diff:
https://github.com/AnalyticalGraphicsInc/cesium/commit/a809398f15162cd926c13f8a8c11891a15f852d6
I don’t know that we have someone actively working on this, but I think if there’s a community PR open I’m sure it’ll make it in for release.
Congratulations on closing the issue! I found these Cesium forum links in the comments above:
https://groups.google.com/forum/#!topic/cesium-dev/urW44wpGJZk
If this issue affects any of these threads, please post a comment like the following: