Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 893 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 893 Bytes

This is a minimal standalone version of the 3DHeatmap example on deck.gl website.

Usage

Copy the content of this folder to your project.

To see the base map, you need a Mapbox access token. You can either set an environment variable:

export MapboxAccessToken=<mapbox_access_token>

Or set MAPBOX_TOKEN directly in app.js.

Other options can be found at using with Mapbox GL.

# install dependencies
npm install
# or
yarn
# bundle and serve the app with webpack
npm start

Data format

Sample data is stored in deck.gl Example Data. To use your own data, checkout the documentation of HexagonLayer