First install all dependencies using
npm install
OR
npm i
If you get errors install dependencies manually
npm install --save leaflet
npm install --save leaflet-routing-machine
npm install --save leaflet-groupedlayercontrol
npm install --save leaflet-control-geocoder
npm install --save nominatim-geocoder
npm install --save-dev sw-precache-webpack-plugin
๐ฅ npm start
- start server
After starting you can use left click for a pop up or you can use input the direction on the right side. You get bonus information from wikipedia from your destination if you scroll down.