Is it possible to print multiple points at the same time in czml?

I am studying CZML using an example.

I want to print multiple points at the same time in one czml.

For example. I want to map four points in time A, six points in time B, and three points in time C.

Is this possible in CZML?

Yes,

Assume you have a data array that contains longitude and latitude values. Loop through it and call a function that create czml point:

dataarray = contains longitude and latitude values for czml point

dataarray.forEach(function (obj) {

functionname(obj)

});

//Sandcastle_End

Sandcastle.finishedLoading();

}