Closed (fixed)
Project:
Location
Version:
6.x-3.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
10 Sep 2010 at 13:10 UTC
Updated:
3 Jan 2014 at 02:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
bryancasler commentedLets get this committed
Comment #2
rooby commentedInstead of checking the address after the call to _google_geocode_flatten() we should probably fix _google_geocode_flatten() itself.
This patch changes _google_geocode_flatten() to make it add the country to the address.
I also snuck in a little bit of code cleanup.
Can you test my patch for your use case?
The patch is against current cvs dev. Should apply to current dev download too.
Or you can manually apply to the 3.1 release if it doesn't apply cleanly.
Comment #3
agileware commentedThe patch in #2 works for me.
My use case is the user enters just a country and no other details and the coords are geocoded from that.
Comment #4
havran commentedPatch #2 work for me too.
Comment #5
juliusvaart commentedPatch #2 works for me too.
Comment #6
rooby commentedThanks for reviewing.
Committed to all versions.
http://drupalcode.org/project/location.git/commit/8c8ce88
http://drupalcode.org/project/location.git/commit/293dcd8
http://drupalcode.org/project/location.git/commit/2e563cf
http://drupalcode.org/project/location.git/commit/9f75ca6