Hi, I am looking for a certain solution in the Google Maps JavaScript API v3, but can't figure out how to do it.
Situation is as follows: I want the full address (well, I only need the zipcode and house number) of the address nearest to the point someone clicked on. I made a click event, catching the click, placing a pointer, getting the coordinates and ask the Geocoder for an address. But: The geocoder can't always give me a full address (that means: no house number). Problem is that I really need a valid address for the service I am setting up (only zipcode + number, but combination must be valid), and the Geocoder won't always give me that. I saw something about a "search area" (don't know the correct term) where you can specify in what 'range' there is searched by the Geocoder, but I am not sure if that will work. A point clicked very near a street won't always give a result, so I guess expanding the search area won't always give a result either. About priority: A valid address is more important as the nearest address. I really need a valid address. If the actual distance is slightly off, that will be no problem. Any thoughts? Cheers, Niek. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
