I use MAMP
Site in this directory - localhost/mysite
When i have error in console:
"Google Maps API error: MissingKeyMapError "
I go to google api console, make new project, create new API key, insert this key in my site:
<script src="https://maps.googleapis.com/maps/api/js?key=MY-KEY" type="text/javascript"></script>
but the error does not go away
I tried a bunch of options to create different keys activate different service api, making keys for the browser
Error on the map "Oops, something went wrong.." and "missing-key-map-error" do not go away
UPD
if I move the site to another directory
localhost/mysite2/
Then everything works as expected without api key!
Where API checks directory of where to work and where not?