Billboards in custom data source are not initially clustered
See original GitHub issueCustom data source with set of billboards and with enabled clustering is not clustered initially.
Take a look at the following example in Sandcastle:
var viewer = new Cesium.Viewer('cesiumContainer');
var image = new Image();
image.onload = function() {
var dataSource = new Cesium.CustomDataSource('points');
for (var i = 0; i !== 5000; i++) {
dataSource.entities.add({
position: Cesium.Cartesian3.fromDegrees(Math.random() * 360 - 180, Math.random() * 180 - 90, 0),
billboard: {
image: image
}
}
);
}
dataSource.clustering.pixelRange = 20;
dataSource.clustering.minimumClusterSize = 3;
dataSource.clustering.enabled = true;
viewer.dataSources.add(dataSource);
};
image.src = '../images/facility.gif';
Here is how it looks like after running:

This stays for indefinite time, and only if I navigate (zoom or rotate) Earth for a few seconds billboards are being clustered:

Datasource with only labels is being clustered initially normally.
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Troubleshoot Data Blending - Tableau Help
The secondary data source may not have any links to the primary data source. Look in the Data pane for the link icon....
Read more >What the value (not set) means - Analytics Help
(not set) is a placeholder name that Analytics uses when it hasn't received any information for the dimension you have selected. The reasons...
Read more >Using connectors and connections with AWS Glue Studio
If the data source does not use the term table, then supply the name of an appropriate data structure, as indicated by the...
Read more >Custom Audience - Meta for Developers - Facebook
It indicates whether or not an audience can be used in ads. Possible values include: ... Type of custom audience, derived from original...
Read more >Change the data series in a chart - Microsoft Support
Use chart filters to show and hide data series or categories, and use the Select Data Source dialog box to further change and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@bagnell @pjcozzi Thanks!
Thanks again for the report and code example, @rutsky.
This was fixed in #5208.