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

efruin’s picture

Issue summary: View changes

Adding 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.