This project demonstrates how to use Mapbox GL to render a 3D model representing AON Center in Downtown Chicago.
It uses:
Code is bundled for the browser using webpack.
The project was initialized with the Create React App CLI.
To work on this project:
- Open a new terminal window
- Clone the repo
cd mapbox-3d-demo
- Open in a text editor to make changes to the code.
To start the development server, run yarn start
. This will run webpack and start serving the app locally. To view it in the browser, go to http://localhost:3000.
The page will reload automatically if you make any edits.
The app is deployed to a CDN via Netlify, which uses a continuous integration process to build the production JavaScript bundle. Netlify listens for changes to this repo and will start new builds automatically—no need to run a command!
For a list of possible improvements, see Issues.