After testing this module, I've got the following error:
You have exceeded your daily request quota for this API. We recommend registering for a key at the Google Developers Console: https://console.developers.google.com/apis/credentials?project=_
So it would be great, if the module can support adding the credentials such as API keys.
See:
- https://support.google.com/googleapi/answer/6158857?hl=en-GB
- https://support.google.com/googleapi/answer/6158862
- https://console.developers.google.com/apis/credentials
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | 2989952-10.patch | 3.38 KB | flocondetoile |
| #6 | geocoder_autocomplete-google-api-key-2989952-6.patch | 2.16 KB | mariaioann |
| #4 | geocoder_autocomplete-google-api-key-2989952-3.patch | 1.66 KB | esdrasterrero |
| #3 | geocoder_autocomplete-google-api-key-2989952-2.patch | 1.56 KB | mariaioann |
Comments
Comment #2
kenorb commentedAlternatively use https://www.drupal.org/project/geolocation
Comment #3
mariaioann commentedThe problem applies to the 7.x-1.x-dev version too.
I have created the following patch for the 7.x version:
Comment #4
esdrasterrero commentedUpdated 7.x-1.1 patch.
Comment #5
kenorb commentedComment #6
mariaioann commentedUpdated patch for 7.x-1.x with authors data and commit description.
Comment #7
mariaioann commentedComment #8
flocondetoileHere a patch for 8.x
Comment #9
flocondetoileUsing the Google Geocodig API may require to use a different API key than the API filled for the javascript Maps API, because you can't add restrictions based on the HTTP Referer for the geocoding, but only restrictions based on the IP server.
API keys with referer restrictions cannot be used with this API.A workaround could be to provide a custom $settings for geocoder_autocomplete which may then, if set, override the main google maps geocoder api key.
A patch follow
Comment #10
flocondetoileWith this patch you can use an another api key, than the api key set on the geocoder module, to use it especially for geocoding. You can set the api key in the settings.php file of your Drupal project.
For example
Comment #11
remyyyyy@flocondetoile Thank you very much for your last patch with custom settings ! For me it's ok !
Comment #12
sanduhrs