I have installed this module on a clean Drupal 7 installation. But I can't activate the Google API. I have added the API key in the GEOCODE field. But I still get the error.

Also I got a blanc screen when I add location via the content type Store Location. Maybe because the API key isn't working?

My API key: enter image description here

Got it from Google API: enter image description here

After clearing the cache, I still get the error: enter image description here

And no Google Maps: enter image description here


  • 1
    Have you copied the storelocator library in its desired path? (I mean sites/all/libraries/storelocator) – Alireza Tabatabaeian Aug 28 '16 at 14:10
  • 1
    Yes I have copied the library. – honline Aug 28 '16 at 14:17

Actually you need to different keys one for the browser (client side) and one for the server . You already have configured your server key but you need to get a new key from google developer dashboard for the browser side . then go to google_store_locator.module line 441 and change it to :

'js' => array('//maps.googleapis.com/maps/api/js?sensor=false&libraries=places&key=' . variable_get('geocoder_apikey_google_client') => array('type' => 'external')), 

protected by Community Jul 14 '18 at 9:49

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.