question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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.

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
OmarShehatacommented, Jan 7, 2019

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

0reactions
cesium-conciergecommented, Sep 19, 2019

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:

The issue at https://github.com/AnalyticalGraphicsInc/cesium/issues/6087 has just been closed and may resolve your issue. Look for the change in the next stable release of Cesium or get it now in the master branch on GitHub https://github.com/AnalyticalGraphicsInc/cesium.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found