Google Maps API 3 - Search address by ZIP code + number (geocode)

4

I've made in an application the display of points on the map from an address typed on a form. I use the API v.3, javascript, and get the address using geocoder.geocode (x, y). I have followed the following format: log_type_logradouro, number - neighborhood - city, state - country . It works OK.

But to improve the search, in cases where the address is not found, I tried to alternatively search the zip (which would already give me the street) plus the number, but I can not.

To search by zip code, do: zip - country . So he finds the correct street, but I can not get the number for example from the residence. How could this be done?

    
asked by anonymous 12.05.2015 / 16:15

0 answers