-
Retrieve your own Google Maps API Key (it is free)
-
Add your API Key to Google Maps link in
index.html
:
src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&callback=initMap">
Replace YOUR_API_KEY
in the url with the API Key you retrieved using the tutotial above.
Want to join the BEST JavaScript Course on the planet and learn how to build the Google Maps Project with JavaScript, NodeJS, and MongoDB?
Check out our Profit With JavaScript Course
👇