Initialize a map with custom map markers based on geoJson data which displays an alert detail when clicked.
git clone https://github.com/mapbox/mapbox-react-examples.git
cd mapbox-react-examples/markers-custom
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