11 Jul 2012 06:46:01 nacho vidau posted:
I am using the Ajax Autocomplete and google maps to save addresses to my DB. So I have all the fields in my form from the Ajax Autocomplete to get the address saved, but there are a couple of fields missing for addresses in Mexico.
the fields I have are:
But in Mexico's addresses, we often include the name of the neighborhood and the municipality, and the Ajax Autocomplete brings this information after a search.
For example this is the result I get when looking for an address in Roma Norte, Mexico:
Veracruz 102, Roma Norte, Cuauhtémoc, 06700 Ciudad de México, DF, México
Street Number: 102
Postal Code: 06700
City: Ciudad de México
And is missing:
neighborhood ("colonia" in spanish): Roma Norte
I would really like to have access to this fields since they are important in Mexico's addresses, also It would be nice to have a full address field "gFullAddressField" in order to save all the information thrown by the Autocomplete in just one data base field, this way you could have the fields you need and a fall back option with the complete address as google understands it.