Google Maps API - Exceeded request quota [duplicate]

-4

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>
    
asked by anonymous 04.10.2018 / 04:12

1 answer

0

You should not have activated billing in your account, only the "embed map" is free now (the one you use with an iframe).

For more information, visit this help page , which gives information on how to proceed.

    
04.10.2018 / 12:40