A small Google maps API app
NOTE! You have to add node_modules folder to the project and your oun Google API key in the script in src/index.html!
"<script async defer src = 'https://maps.googleapis.com/maps/api/js?key=[YOUR_KEY]&callback=initMap'></script>"
Download or clone the project from git. Change to the folder Google_maps_demo.
To add node_modules run:
npm install
To build and start the server run:
npm start
Open http://localhost:8080 to view the app.
I used this to start a new webpack project: https://webpack.js.org/guides/getting-started/
https://developers.google.com/maps/documentation/javascript/overview
https://developers.google.com/maps/documentation/javascript/adding-a-google-map#key
To integrate with webpack: https://github.com/philrmass/minimal-google-maps-api
I used http-server: https://www.npmjs.com/package/http-server