Hi all,
I've got the Gmap module installed and I'm trying to configure it. I've entered the API key that I received from Google. I tested the API key by creating a static php page: http://www.rnp.org/ProjectsMap/ProjectsMap.php. My Drupal install is in /beta from the root. Here's a link to the example map page: http://www.rnp.org/beta/?q=map
I have deleted and re-entered the key a number of times. I also re-entered it in the database and tried to enter it in the gmap.module page. All these options produced the same result. I've done a bunch of searches, etc but have not found a solution.
How can I make this work? What am I missing?
Thanks in advance for your help.
Comments
Comment #1
rooby commentedAre you still having trouble with this?
Did you get the api key for http://rnp.org ?
Comment #2
kevinquillen commentedI am getting this as well on Drupal 7.
I generated a valid key, input it into the Configuration, and I still receive 'this map needs a new API key' message every page load.
Comment #3
Countzero commentedSame problem here. Site used an API key for dev on a domain, then moved to production on new domain.
I generated a new APi key for the new address, cleaned all caches and even disabled them, but it keeps yelling at me saying it needs a new key. The message only appears on the user side, not the admin screen.
The site uses maps with openlayers.
It's very annoying as it pops out at a project's most critical state : launching.
Comment #4
Countzero commentedNever mind : I had to change the API key in the Openlayers preferences. Problem solved here. Sorry for the unneeded noise.
Comment #5
wcyuan commentedI have the same problems when I change the site: from http://example.com/drupal to http://example.com. I checked source code of the front page and the
<meta name="gmapkey" content=‘old code'>, but I check the variable list, the googlemap_api_key is the 'new code'.Anyone can help me to tell me where the old code saves place?
Thanks
Comment #6
bbeeson commentedI fixed this problem by deleting the existing key, using the Devel module's variable editor. The key deleted was called "googlemap_api_key." I then re-entered the key into the GMap module and was good to go.
Comment #7
brandy.brown commentedI have tried many things: I have deleted the old key and regenerated several new keys and I just keep getting this error: Google has disabled use of the Maps API for this application. The provided key is not a valid Google API Key, or it is not authorized for the Google Maps Javascript API v2 on this site. If you are the owner of this application, you can learn about obtaining a valid key here: http://code.google.com/apis/maps/documentation/javascript/v2/introductio...
Even if I follow those steps, the error persists.
It seems to happen randomly. It will work fine for a bit, then all of a sudden it keeps saying this. The key is fine and active.
Comment #8
webservant316 commentedI have Google Maps API v2 enabled and a valid key at https://code.google.com/apis/console but am still getting the error ...
Any other ideas?
Whoops sorry - I am using gmap 6.x-1.x-dev
Comment #9
webservant316 commentedok my problem explained here - http://drupal.org/node/1549272
Comment #10
rooby commentedIs anyone still seeing this?
Please also refer to #1549272: Latest google api key instructions
Comment #11
podaroktag