CesiumGS/cesium
View on GitHubClustering no longer works when assigning a label to datasource entities
Open
#13,361 opened on Apr 3, 2026
good first issuetype - bug
Repository metrics
- Stars
- (11,758 stars)
- PR merge metrics
- (Avg merge 15d 12h) (23 merged PRs in 30d)
Description
What happened?
Using the sandcastle example for clustering, all I've added is the label object and an empty string to each entity. Adding the empty string causes the clustering to break, leaving only the points.
dataSourcePromise.then(function (dataSource) {
for (const source of dataSource.entities.values) {
source.label = {
text: ''
}
}
...
})
Reproduction steps
See sandcastle example
Sandcastle example
Environment
Browser: Chromium CesiumJS Version: 1.140.0 Operating System: MacOS
AI acknowledgment
- I used AI to generate this issue report.
- (If the above is checked) I have reviewed the AI-generated content before submitting.