I have a problem putting the Google Maps map on my site. I already generated a KEY on the panel and I took the simplest example of Google and it is not working.
The displayed error is:
"Oops, something went wrong. correctly. See the JavaScript console for details technicians. "
What usually happens because of the Key. However, I have already generated MISCELLANEOUS and nothing.
Has anyone ever had this problem?
I used the same Google example
<!DOCTYPE html>
<html>
<head>
<title>Simple Map</title>
<meta name="viewport" content="initial-scale=1.0">
<meta charset="utf-8">
<!-- jQuery library (served from Google) -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script><style>/*Alwayssetthemapheightexplicitlytodefinethesizeofthediv*elementthatcontainsthemap.*/#map{height:100%;}/*Optional:Makesthesamplepagefillthewindow.*/html,body{height:100%;margin:0;padding:0;}</style></head><body><divid="map"></div>
<script>
var map;
function initMap() {
map = new google.maps.Map(document.getElementById('map'), {
center: {lat: -34.397, lng: 150.644},
zoom: 8
});
}
</script>
<script src="https://maps.googleapis.com/maps/api/js?key=KEYAQUI&callback=initMap"
async defer></script>
</body>
</html>
I put my key right where it has KEYAQUI in the script
Thank you