cesium: Labels don't show for individual entities in datasources when clustering is enabled

Issue

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.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 19 (16 by maintainers)

Commits related to this issue

Most upvoted comments

@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.