Active
Project:
Geofield
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Apr 2013 at 18:30 UTC
Updated:
19 May 2014 at 16:51 UTC
Jump to comment: Most recent
We're using a setup where we're geocoding from an addressfield. It works well...except when it doesn't :)
The problem is when Google (our geocode service) incorrectly maps the entered address. Some very remote addresses aren't geocoded properly and, in these cases, we need to somehow override our default behavior. Somehow we need to manually enter lat/long, geocode from a secondary field, etc.
Any ideas? Any hooks we can use to modify the default behavior?
Comments
Comment #1
efruin commentedAdding an override function would also be helpful when the address cannot be located at all by the geocoding service. I have a site that is trying to geocode a lot of addresses in US territories and other countries but Google returns no results for that specific address. It would be nice if I could try the "geocode from another field" option but if that fails (or is wrong like for the OP) then be able to manually enter the values. There are no field widgets exposed when the geocode from another field option is selected.