Attempting to get auto complete working for my google maps application.
Here is the current code:
HTML
i found this error because of my API key have exceeded daily request quota for this API.
i just create new API key and Replace it instead of old one.
it works for me
thank you
You have to add 'defer async' to the script attribute, like this:
<script src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&libraries=places&callback=initMap"
async defer></script>