Change point representation

Cesium.GeoJsonDataSource.load have a standard point representation.

Can I change it to this point representation: https://cesiumjs.org/demos/TexasGroundwater/

Thanks

Hey there,

It looks like they are using billboards to show an image for each point.

You can swap out a point for a billboard when loading the GeoJSON:

viewer.dataSources.dataSourceAdded.addEventListener(function(collection, dataSource){
var entities = dataSource.entities.values;
for (var i = 0; i < entities.length; i++) {
var entity = entities[i];
if (entity.point){
// remove the point
entity.point = undefined;

        // add the billboard
        entity.billboard = {
           image : '../images/Cesium_Logo_overlay.png',
           // other options
        }
    }
}

});

``

Thanks,

Gabby