# CesiumWidget Czml DataSource

**URL:** <https://community.cesium.com/t/cesiumwidget-czml-datasource/1571>\
**Category:** CesiumJS\
**Created:** [October 9, 2014, 8:32pm UTC](https://community.cesium.com/t/cesiumwidget-czml-datasource/1571 "2014-10-09T20:32:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@Robert](https://community.cesium.com/u/Robert)\
**Post date:** [October 9, 2014, 8:32pm UTC](https://community.cesium.com/t/cesiumwidget-czml-datasource/1571/1 "2014-10-09T20:32:56Z")

</div>

I had the CZML data source working in a previous version of Cesium but am currently trying to get it to work on the current version. All of the examples I have found have been for the CesiumViewer. Can someone post a simple example for the CesiumWidget? (static czml data)

---

<div class="post-metadata">

**Author:** ![Robert](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@Robert](https://community.cesium.com/u/Robert)\
**Post date:** [October 10, 2014, 1:37pm UTC](https://community.cesium.com/t/cesiumwidget-czml-datasource/1571/2 "2014-10-10T13:37:01Z")

</div>

Actually I think I have the code to display czml but I’m having trouble with my czml file itself. I tried copying it into the online “built-in” example and it won’t display. Can someone please post a simple CZML example file that is for static data (always shown)?

---

<div class="post-metadata">

**Author:** ![Chris\_M](https://avatars.discourse-cdn.com/v4/letter/c/958977/32.png) [@Chris\_M](https://community.cesium.com/u/Chris_M)\
**Post date:** [October 10, 2014, 1:58pm UTC](https://community.cesium.com/t/cesiumwidget-czml-datasource/1571/3 "2014-10-10T13:58:31Z")

</div>

[  
{  
“id”:“document”,  
“version”:“1.0”  
},  
{  
“id”: “car”,  
“billboard”: {  
“image” : “[http://www.i2clipart.com/cliparts/8/b/5/7/clipart-blue-car-8b57.png](http://www.i2clipart.com/cliparts/8/b/5/7/clipart-blue-car-8b57.png)”  
},  
“position”: {  
“cartesian”: [  
-2373754.663701, -4665332.880136, 3628133.689242  
]  
}  
}]

``

This should draw a car image in the south-western area of the United States.

---

<div class="post-metadata">

**Author:** ![Robert](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@Robert](https://community.cesium.com/u/Robert)\
**Post date:** [October 10, 2014, 2:54pm UTC](https://community.cesium.com/t/cesiumwidget-czml-datasource/1571/4 "2014-10-10T14:54:15Z")

</div>

Thanks! That worked!
