Google maps notes

  • Need google account
  • Log in to https://console.developers.google.com/
  • Create new project using dropdown at top, and then the plus sign
  • Wait for it to update, then select Google Maps Javascript API
  • Click ENABLE button at top center
  • Click Create Credentials
  • Go through defaults
  • Don’t set any key restrictions, for now.

You’ll get an API Key. Copy that and put that into the script source, where the tutorials say YOUR_API_KEY:

<script async defer
  src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&callback=initMap">
</script>