Nextjs Google Maps
How to set up Google API Keys
- Go to https://developers.google.com/maps/documentation/javascript/get-api-key
- Scroll to the “Get an API key” Title and press “Get a Key” Button
- Choose a name for your project then press on Create and Enable API
-
Get the Key and place it in your project where is this
script:
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=YOUR_KEY_HERE"><script>