Hi,
When play/pause a CZML animation, may I know how to get the current CZML object info, like position, orientation ? (which in fact already in the CZML content).
Best,
Narco
Hi,
When play/pause a CZML animation, may I know how to get the current CZML object info, like position, orientation ? (which in fact already in the CZML content).
Best,
Narco
The entities property of the CzmlDataSource will get you the EntityCollection instance containing all data. You can then get a specific entity by it’s CZML id or iterate over the collection. I would check out this tutorial for info on working with manipulating entities: http://cesiumjs.org/2015/02/02/Visualizing-Spatial-Data/ and there’s also this Sandcastle example: http://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=GeoJSON%20and%20TopoJSON.html&label=DataSources which loads GeoJSON but where the data came from isn’ important once it’s loaded.
Hey Matthew,
Thank you for the guide. I get the idea. Will work on it.
Best,
Narco
在 2015年2月12日星期四 UTC+8下午10:27:05,Matthew Amato写道: