I have a problem, when I create a project in Google Maps and place the key, after reloading the page, it claims the error You have exceeded your request quota for this API
. But I created my project and API in one minute. What should I do?
<!DOCTYPE html>
<html>
<head>
<title>Simple Map</title>
<meta name="viewport" content="initial-scale=1.0">
<meta charset="utf-8">
<style>
/* Always set the map height explicitly to define the size of the div
* element that contains the map. */
#map {
height: 100%;
}
/* Optional: Makes the sample page fill the window. */
html, body {
height: 100%;
margin: 0;
padding: 0;
}
</style>
</head>
<body>
<h1>dsadsadasd</h1>
<div id="map"></div>
<script>
var map;
function initMap() {
map = new google.maps.Map(document.getElementById('map'), {
center: {lat: -23.5745792, lng: -46.6235351},
zoom: 8
});
}
</script>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCzMklPLGCiJpHydazwhc5X1a1zN8iW_S4&callback=initMap"
async defer></script>
</body>
</html>