Reputation: 667
I am using the Google Static Maps API.
Since Google introduced the following restriction for maps usage I added an key parameter to my image urls. The key was generated here: https://code.google.com/apis/console
After I added the key parameter the map image requests fail with a 403 status code and the following message: This web site needs a different Google Maps API key. A new key can be generated at http://code.google.com/apis/maps/.
If I remove the key the requests return a 200-OK status code.
The reports in the Google APIs Console are showing ~100K requests so far, even though the clients don't see any Maps images.
What am I missing?
Upvotes: 1
Views: 1913
Reputation: 132
I ran into the same problem and realized that I had turned on the Maps v3 service (assuming that covered static maps) but NOT the static maps service which appears further down the alphabetized list.
Hope that helps.
Upvotes: 5
Reputation: 117354
Static Maps don't require a key anymore, they are also not available inside the console. So I guess you created a key for a maps-javascript-API and use this key for a static map, what will result in the error.
There is no need for a key anymore in static maps, because the limits now are bound to the user and not to the provider.
Upvotes: 0