This is a minimal standalone version of the Tile3DLayer example on deck.gl website.
Copy the content of this folder to your project.
To download the Cesium 3D tileset, you need a Cesium ion access token, and set it to ION_TOKEN
in app.jsx
.
# install dependencies
npm install
# or
yarn
# bundle and serve the app with vite
npm start
Sample data is served by Cesium ion.
To use your own data, check out the documentation of Tile3DLayer
The basemap in this example is provided by CARTO free basemap service. To use an alternative base map solution, visit this guide