Catch billboard geometry type

Is possible to catch billboard geometry type??

viewer.dataSources.dataSourceAdded.addEventListener(function(collection,dataSource){

if (Cesium.defined(dataSource)) {

console.log(dataSource.entities.values[0]);

var entities = dataSource.entities.values;
for (var i = 0; i < entities.length; i++) {

var entity = entities[i];

if (Cesium.defined(entity.billboard)) {
console.log("...billboard");

// how catch billboard geometry type? To especify pint, polyline or polygon data?

} else if (Cesium.defined(entity._point)) {
console.log("...point");

} else if (Cesium.defined(entity._polyline)) {
console.log("...polyline");

} else if (Cesium.defined(entity._polygon)) {
console.log("...polygon");

}
}
}

});

Thanks

Hi informatica,

Billboards don’t have different geometry types. You can catch points, polygons, polylines, and other geometry and style them accordingly.

Thanks,

Gabby