I am using the Google Store Locator module which also uses the Addressfield module for storing postal information. The address field module provides two lines for postal addresses:
Address 1
Address 2
where address 1 is generally the street address and address 2 is reserved for premise information (e.g. Unit #5, Suite 301 etc.)
My problem is that I am getting erroneous and incorrect geocoding results using the Google geocoder. Is there a simple way to ensure that the Google Geocoder only uses the Address 1 (street address location) for the lookup and ignores the Address 2 line from the address field module?
Comments
Comment #1
skalfyfan commentedUPDATE!
Just found the the method within geocoder.widget.inc.
Is there a simple way to hook into this and override it so that I can remove the premise part?
Comment #2
wranvaud commentedDuplicate of #1534474 (and they have a patch)