CesiumGS/cesium
Voir sur GitHubClustering no longer works when assigning a label to datasource entities
Open
#13 361 ouverte le 3 avr. 2026
good first issuetype - bug
Métriques du dépôt
- Stars
- (11 758 stars)
- Métriques de merge PR
- (Merge moyen 26j 3h) (26 PRs mergées en 30 j)
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.