Pulling hair out. Will not accept any API keys. Module says it's both required and not required. There is NO V2 of google maps on the google developer console anymore. Any key I put in gives the error that the key is invalid. Maps will not appear. Issues addressing this issue are muddy and confusing and everyone gives instructions that no longer apply to the latest Google console.

There is a dizzying array of map services now and none of them match the module instructions, which ones to turn on??????

Google Maps Android API v2
Google Maps Coordinate API
Google Maps Embed API
Google Maps Engine API
Google Maps Geolocation API
Google Maps JavaScript API v3
Google Maps SDK for iOS
Google Maps Tracks API

Drupal 7.26, PHP 5.3.28
Foundation Theme 5.0

Please help.

Comments

grip media’s picture

I got it to work. Some weirdness with the zip code field. #4 from this thread helped solve it: https://drupal.org/node/249025

I still believe that a great deal of time and frustration would be prevented if the documentation and read-me's were updated to reflect Google's new console and to post explicit clarification of the MAP API key confusion issue. Also there needs to be cross-referenced instruction regarding the LOCATION module settings to make this work.

The services I enabled to get this to work on the console are:

Static Maps API
Street View Image API

Note these titles don't exist anywhere in the current documentation or read-me's.

grip media’s picture

Issue summary: View changes
grip media’s picture

Component: Code » User interface
Category: Bug report » Support request
daggar’s picture

#1 Worked for me as of 2016/08/22. As of this date, a Maps API key is required for this to work. I also had to do two different domain whitelist routines:
1) domain verification through the Google Search Console
2) Under Credentials/Browser API Key/Accept From These Domains, add my domain there. (URL fits this example, nonfunctional pattern: https://console.developers.google.com/apis/credentials/key/X?project=YYY... )

Since Google likes to play musical chairs with its control panel UI's, expect this to change again in the future. This is something that the module dev has no control over, of course.

Recommendation: because of how common and drastic Google's UI changes are, along with how abysmal their documentation is, including a static set of directions on the front page is probably counterproductive-- it's a moving target and will remain so. Possibly designate an 'official' issues thread to the Google API setup, and let it be a running log of how Google changed their requirements in the past year/month/week. Replace the now-obsolete directions with a link to that thread.

jacob.embree’s picture

Title: Can't get this module to work... pulling hair out » How to use GMap
Status: Active » Fixed

Closing because of comment #1.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

rtrubshaw’s picture

As of the 2018-01-23 the following conditions now appear to hold true:

  1. You definitely need an API key for the module to function correctly
  2. I found that the Javascript API was essential (though I also enabled the Static Map and Street View as per comment #1 it didn't work until I enabled the Javascript API)
  3. It appears that one set of credentials will cover all of the GMaps APIs that you could reasonably need for this module
  4. If you are limiting access by HTTP, then in addition to the "*.example.com/*" pattern you should also add "example.com/*" and "example.com" YMMV
  5. It's an awful lot of work for a simple family intranet site!