CesiumGS/cesium
在 GitHub 查看Clustering no longer works when assigning a label to datasource entities
Open
#13,361 创建于 2026年4月3日
good first issuetype - bug
仓库指标
- Star
- (11,758 star)
- PR 合并指标
- (平均合并 15天 12小时) (30 天内合并 23 个 PR)
描述
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.