Hello,
I am new to Cesium and I was trying to see how many data-points I can put in the globe without degrading performance. I was able to run fine with few thousand data-points but when I went up to around 60k it started crashing. Based on a post that I saw in stack overflow, people have been able to put 500k data points using the old API. Is there anyway I can get that kind of performance using the Entity API?
Application I am working on has ~200k data-points. All data points fall into a handful of categories that I plan to distinguish using different coloured points. If I can display all the points and be able to detect mouse-over/click on them I will be good...
Thanks
Time
Here is the post that I saw:
http://stackoverflow.com/questions/23893842/how-many-points-can-a-cesium-map-display
Here is the code I tried running in the sand box:
var viewer = new Cesium.Viewer('cesiumContainer');
for(var count = 0; count < 60000; count++) {
var lat = (Math.random() * 360 - 180).toFixed(10) * 1;
var lng = (Math.random() * 360 - 180).toFixed(10) * 1;
var entity = viewer.entities.add({
id : count,
position: Cesium.Cartesian3.fromDegrees(lat, lng),
name : 'Entity At ' + count,
point : {
color : Cesium.Color.RED,
pixelSize:2
}
});
}