javascript - Is it possible to detect when Google Maps has rejected the API key? -
I'm trying to debug an intermittent warning that has been opened by the Google Maps API. The following message contains the following warning:
Google has disabled the use of the Maps API for this application. The key provided is not a valid Google API key, or Google Maps on this site is not authorized for Javascript API v3. If you are the owner of this application, you can learn about getting a valid key here:
I can not reproduce it, but I can log on from JavaScript If I want to do it again, how can I do this?
You can test using the Google Maps API Console
Update
I found this formula on Google's dev Forum
Comments
Post a Comment