I was recently working on a project in which I used the Google Maps API , I came across an error : This page didn’t load Google Maps correctly. See the JavaScript console for technical details .
Resolution :
I checked in the console tab in Developer tools in my internet Explorer , which threw the below error:
Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error
So , I searched google support for this issue and found the solution on the below link:
https://developers.google.com/maps/documentation/javascript/get-api-key
Hit the Get A Key button and get your key to insert in your respective code , for example :
Key : SyCj0as435MQBpLO5aLr9ArAurPARU
Just add the key in the script calling the maps like this :
<script async defer src=”https://maps.googleapis.com/maps/api/js?key=SyCj0as435MQBpLO5aLr9ArAurPARU&callback=initialize”>
Thanks
