Taken from:
- Uber h3 js tutorial: How to draw hexagons on a map (part 1 of 3)
- Mapping taxi demand with Uber h3 js and react map gl (part 2 of 3)
- Visualizing taxi demand over time - adding interactivity to h3 js (part 3 of 3) - coming soon!
How to run the app:
- cd into your project and open the file
src/components/MapBoxMultipleHex.jsx
, replacingYOUR_MAPBOX_ACCESS_TOKEN
with a valid MapBox key. - Open terminal and run
npm install
(this will install the required dependencies) - Run
npm start
Please contact afian@afi.io if you have any questions or suggestions. Pull requests are welcome.