Javascript error in Google Maps API v3 (RefererDeniedMapError)
After a detailed research into your issue that you are currently facing,i have come across with some possible answers to your question apart from the other answers.
There are two types of Referer errors :
RefererNotAllowedMapError
The current URL loading the Google Maps JavaScript API has not been
added to the list of allowed referrers. Please check the referrer
settings of your API key on Google Cloud Console.
RefererDeniedMapError
Your request has not been completed. You may be able to find the
more details about the error in the Google Cloud Console(please have a look).
We were using Google Maps without key and because of our traffic
increase we had to create......
- What are the usage limits for the Google Maps JavaScript API v3?
- What are the usage limits for the Google Earth API?
Requests that constitute page views are applied against the total number of page views purchased with your Google Maps API for Work license. When this limit is reached, you will need to renew your license promptly.
Please read more limitations here
Error message that you are facing may be a clear indication that you
have crossed any limitations ,and that would be hard to guess at this
point from this end as detailed analysis and configuration report from
your account(console) is required.
Keep Checking the limitations , errors in your cloud console.
As a final call you can contact the paid support from google.
Find More references below :
Google terms
Keys FAQ
SO post on multiple APIs
Hope that would be useful ..
Thanks
mydomain.com
then Google recommends to add them like*.mydomain.com/*
.