Where are the loadXML samples?


I think you will have to write your own DataSource object. Cesium currently has support for KML, GeoJSON and CZML if you can get your data into one of those formats.

Otherwise, take a look at this demo for how to write a custom datasource: http://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Custom%20DataSource.html&label=DataSources



Thanks Hannah! I’m actually in the middle of doing this but will have to look into having the data come through as json.

Also check out the Visualizing Spatial Data tutorial, which gives an overview of the Entity API: http://cesiumjs.org/tutorials/Visualizing-Spatial-Data/

If the data is in a custom schema format, it doesn’t matter if its XML or JSON, since you have to write code either way to visiualize it. But obviously JSON data is more browser friendly.