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/
Runs the app from http://localhost:3000