Recently I was engaged in development, updating our maps to version v3, and during development I used my private key. Everything is working fine. When it came time to go to production, someone generated a key for me through the google account of the company, and now it does not work. I sat next to them, making sure they generated the browser key, and I’m sure that the domains are correct in the Referrer section corresponding to both: .mydomain.com / mydomain.com/*
I checked that we use Key for browser applications.
I have confirmed that the Google Maps API v3 is enabled through the services panel. Everything is identical to how I did this with my key. I think the only difference is that they activated Billing on the company account, where, like my key, no. We would like this to change my key, as it received more than 25 thousand views / daily limit on my account.
When using the company’s API key, the map loads, and then very quickly I get a warning window saying: “Google has disabled the use of the Maps API for this application. The provided key is not a valid Google API key, or it is not allowed for the Javascript Google Maps v3 API on this site. If you are the owner of this application, you can find out about obtaining a valid key here: https://developers.google.com/maps/documentation/javascript/tutorial#api_key "
If I replaced the key with my key, with the same referrers settings, it works.
Any help would be greatly appreciated.
javascript google-maps-api-3
Corey snyder
source share