Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 450 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 450 Bytes

Basic example

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.

Demo gif

Run it

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