Hello,
I recently upgraded Cesium from v1.26 (3rd Oct 2016) to the current v1.34 and have noticed our clustered Site entities (a point and a label) no longer show their label. If I disable dataSource.clustering.enabled
, then the labels appear ok. If I disable dataSource.clustering.clusterLabels
, then the labels appear but they do not disappear when the points are clustered. I notice the EntityCluster.clusterLabels/Points/Billboards options were added in October last year after v1.26 that we were previously using.
I have confirmed this in the current Cesium Sandbox by modifying the Clustering Example to create a CustomDataSource with clustering enabled and 3 entities with both a point and a label:
The example will zoom to the 3 Site entities that are missing labels. Disable clustering using checkbox widget to see the labels appear. If you uncomment dataSource.clustering.clusterLabels = false
you will see the labels appear but they do not disappear with the rest of the clustered entity.
Also in this buggy example, if you uncomment the block at the end to modify the entity.label.text
after creation that you can normally do, the label text will partially show - only new characters beyond the length of the original text or where there were spaces in the original text will show. Eg original text ‘foo bar’ updated to ‘1234567890’ will show ’ 4 890’ on screen ?!? The partial text does not disappear when the points are clustered though.
Thanks,
Brendan