This is a minimal standalone version of the 3DHeatmap example on deck.gl website.
-
Copy the content of this folder to your project.
-
Install Package
npm install
- Delete last line in
webpack.config.js
module.exports = require('../webpack.config.local')(module.exports);
- Add Mapbox access token by run this command in your terminal.
export MAPBOX_ACCESS_TOKEN=<Your_Token>
or you can directly add it to app.js
// Set your mapbox token here
const MAPBOX_TOKEN = <Your_Token>>;
- Start the app.
npm start
Sample data is stored in the data
folder. To use your own data, checkout
the documentation of HexagonLayer