When Geocoding, rather than just using getLatLng, try using getLocations, which gives you much more.
http://code.google.com/apis/maps/documentation/services.html#Geocoding_Structured On 11/07/2009, Josh <[email protected]> wrote: > > Is there any defined function to get the address of a searched place? > I have a search box for users to type in addresses - if someone types > in a street address with state, that might be enough to pinpoint the > address. To obtain that point, Google then must know the proper > address - that is, one including state and ZIP code. To get this, I've > been geocoding that address to get a coordinate, and then reverse > geocoding it to get the nearest address. > > Is there any API function I may have overlooked that does this in a > cleaner way? Or is this the best way to do it? > > Thanks in advance! > > > > -- Barry - www.nearby.org.uk - www.geograph.org.uk - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
