CesiumGS/cesium
Clustering no longer works when assigning a label to datasource entities
Aperta
#13.361 aperta il 3 apr 2026
good first issuetype - bug
Metriche repository
- Star
- (11.758 stelle)
- Metriche merge PR
- (Merge medio 15g 12h) (23 PR mergiate in 30 g)
Descrizione
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.