This repository contains the starter code used in the iTwin + Cesium Introduction tutorial series, along with completed code examples for each tutorial.
Have questions? Ask them on the community forum.
Found a bug? Open an issue.
- Clone the repository
- Rename
.env.exampleto.env - Add your own Cesium ion access token
- Run
npm install - Start the app with
npm run dev - Open
http://localhost:5173in your browser
- Clone the repository
- Switch to the branch for the completed tutorial you want to view (e.g.,
tutorial-2-complete) - Use the provided
.envfile — it contains credentials for accessing example content - Run
npm install - Start the app with
npm run dev - Open
http://localhost:5173in your browser
-
Environment Settings
- The main branch should not contain any committed
.envcredentials. - Tutorial branches may include
.envfiles with approved credentials for accessing example content.- If you modify these credentials locally, ensure that personal credentials are not accidentally committed.
- The main branch should not contain any committed
-
Credential Rotation
Credentials should be regenerated every two months.
Apache 2.0. The iTwin + Cesium Introduction Tutorial App is free to use as starter project for both commercial and non-commercial use.
Pull requests are appreciated. Please use the same Contributor License Agreement (CLA) used for Cesium.