Example: Use deck.gl with Mapbox

Uses Webpack to bundle files and serves it with webpack-dev-server.

Usage

To install dependencies:

npm install
# or
yarn

Commands:

  • npm start is the development target, to serve the app and hot reload.
  • npm run build is the production target, to create the final bundle and write to disk.

Basemap

The basemap in this example is provided by CARTO free basemap service. To use an alternative base map solution, visit this guide