To run the demo:
- Clone and open this repository.
- Install NPM using
npm install
- Install Cesium using
npm install cesium
npm run
npm start
My demo uses an aircraft model that can be found here: https://www.cgtrader.com/items/662998/download-page
Feel free to use your own model 😀
To update the aircraft model, upload the new model to Cesium ion and edit this line of code in flight.js
:
const airplaneUri = await Cesium.IonResource.fromAssetId(YOUR_ASSET_ID_HERE);
Here is the guide from Cesium https://cesium.com/docs/tutorials/build-a-flight-tracker/
CloudCollection
was recently added to the CesiumJS API. I would love to enhance this demo by adding clouds.
https://cesium.com/learn/cesiumjs/ref-doc/CloudCollection.html?classFilter=cloud
If you are seeing this and feel particularly ambitions, please submit a pull request ;)