Demonstrates how to use the open-source map leaflet library and the react-leaflet components to create simple maps in a React web application.
shell command | notes |
---|---|
git clone https://github.com/bobmacneal/react-leaflet-demo.git |
Clones repo in local directory |
cd react-leaflet-demo |
Changes to react-leaflet-demo directory |
yarn |
Installs dependencies |
yarn start |
Starts application on port 3000 |