The geocode module don't geocode any more for me.... After some investigation I found this is because google API need:
# key (required) — Your API key.
# sensor (required) — Indicates whether or not the geocoding request comes from a device with a location sensor. This value must be either true or false. (Note that devices with sensors generally perform their own geocoding by definition; therefore, most geocoding requests to the Maps API Geocoding service should set sensor to false.)
Source: http://code.google.com/intl/fr/apis/maps/documentation/geocoding/
related with [606380]
My proposition is to create an admin page to set this required options and other optional like "gl".
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | geocode.inc_google_key.patch | 894 bytes | gagarine |
Comments
Comment #1
gagarine commentedRelated with this one #606380: function geocode($input, $options) need to use $options (sorry)
Comment #2
allie mickaHi gagarine,
I'm going to mark this as a duplicate, because I think that fixing #606380 will set you straight.
Thanks!
Comment #3
allie mickaActually, on second viewing, #606380 is different from this. I have just committed a fix for the &key&sensor thing, and will revisit that other ticket.
Comment #5
gagarine commentedJust add the patch (already committed)
Need GMAP module to work a better alternative could be #758004: Use the project keys to manage google keys