# Formatting information showed when clicked on a billboard

**URL:** <https://community.cesium.com/t/formatting-information-showed-when-clicked-on-a-billboard/21371>\
**Category:** CesiumJS\
**Created:** [November 30, 2022, 12:17am UTC](https://community.cesium.com/t/formatting-information-showed-when-clicked-on-a-billboard/21371 "2022-11-30T00:17:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sakna.hewagalamulage](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/sakna.hewagalamulage/32/3476_2.png) [@sakna.hewagalamulage](https://community.cesium.com/u/sakna.hewagalamulage)\
**Post date:** [November 30, 2022, 12:17am UTC](https://community.cesium.com/t/formatting-information-showed-when-clicked-on-a-billboard/21371/1 "2022-11-30T00:17:02Z")

</div>

Hi,

I am new to Cesium and I am loading data from a GeoJSON and based on type creating a billboard.

Is there a way to format the data shown when clicked on the billboard.  
 ![image](https://global.discourse-cdn.com/cesium/original/3X/7/5/75520a18080f5a56a80f74612b263df94dab9b37.png)

According to the the following documentation [Billboard - Cesium Documentation](https://cesium.com/learn/cesiumjs/ref-doc/Billboard.html) id attribute is type object however if I just pass a dummy object it doesn’t get rendered.

I have added the code snippet below:

> Blockquote  
> Cesium.GeoJsonDataSource.load(data, options)  
> .then((dataSource) =\> {  
> const entities = dataSource.entities.values  
> for (let i = 0; i \< entities.length; i++) {  
> const entity = entities[i]  
> if (entity.properties.label.\_value === ‘Point’) {  
> const z = entity.properties.elevation.\_value  
> const [x,y] = entity.properties.geom2d.\_value.coordinates

```
                        billboards.add({
                            id: entity,
                            position: Cesium.Cartesian3.fromDegrees(x, y, z),
                            image: "../img/images.png",
                            scale: 0.25,
                        });
                    }
                }
                viewer.dataSources.add(dataSource)
            })

```

> Blockquote

Any help is highly appreciated

Thank You

---

<div class="post-metadata">

**Author:** ![Gabby\_Getz](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/gabby_getz/32/7838_2.png) [@Gabby\_Getz](https://community.cesium.com/u/Gabby_Getz)\
**Post date:** [December 9, 2022, 9:34pm UTC](https://community.cesium.com/t/formatting-information-showed-when-clicked-on-a-billboard/21371/2 "2022-12-09T21:34:23Z")

</div>

Hi there,

You can configure this panel [by setting the entity description](https://cesium.com/learn/cesiumjs-learn/cesiumjs-creating-entities/#selection-and-description).
