On Oct 22, 3:02 pm, wb <[EMAIL PROTECTED]> wrote: > Hi, > > I'm building a web page for a user to submit his address and distance > he's willing to travel, and the page will return a list of all the > restaurants that we represent within that specified distance radius. > These restaurants' locations are plotted on a Google map. Depending on > the user's input, that list can be 40 to 50 restaurants, and we > provide this service to both North America and Europe. > > Now the problem I have is that there are always some addresses that > the GClientGeocoder can't locate. Even when I submit the same address > and distance and the same list of restaurants are returned, the > addresses that can't be found are not consistent. One time the > Geocoder can't locate the address of restaurants 1, 2 & 3, while > another time restaurants 3, 4, 5 couldn't be located. And when I > tested those individual addresses on maps.google.com, none of them has > problem.
Are you checking the error code? > > Is this problem cause by our submitting too many addresses to the > Geocoder in one go? How can this be resolved? Geocode the restaurants offline, and store the coordinates so you don't have to re-geocode them for each visitor. (assuming they don't move) See this page from Mike Williams' tutorial for more info: http://econym.org.uk/gmap/geomulti.htm -- Larry --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
