Initialize a map with coordinates set by React, update the state of coordinates on map movement, and display that data in an element provided by the render function.
git clone https://github.com/mapbox/mapbox-react-examples.git
cd mapbox-react-examples/basic
npm install
npm start
open http://localhost:3000/
mapboxgl.accessToken = // YOUR_API_KEY_HERE
Replace the API key in src/Map.js.
Runs the app from http://localhost:3000
