how to add large number of labels

dear sir,

i am trying to add 1500 label,

i wrote this line of code 1500 times, where xx,yy and zz are different coordinates;

viewer.entities.add({position :Cartesian3.fromDegrees(xx,yy,zz), label: {text:‘example’}});

but it is not working when the number is 1500, when it is 250 or less it works, can you tell me what is wrong?

Here’s a simple example that uses a loop, but essentially the same.

var viewer = new Cesium.Viewer(‘cesiumContainer’);

var minLon = -30.0;

var lonRange = 60.0;

var minLat = -30.0;

var latRange = 30.0;

var maxEntities = 1000;

for (var i = 0; i < maxEntities; i++)


var lon = minLon + (Math.random() * lonRange);

var lat = minLat + (Math.random() * latRange);


    position: Cesium.Cartesian3.fromDegrees(lon, lat),

    label: {

        text: 'example'






What else can you tell us about your environment? Browser. Graphics card. OS.