geocoderzip, Thanks for your reply. Here is my usecase. User enters an address,I call the geocode service to see whether there is a location matching that address. If there are more than one entries found for the address entered by the user, I give error feedback saying that there were multiple matches and ask them to pick one of those. Just like google maps maps.google.com application. If there were more than one matches, for the address, I want to tell them did you mean one of the following options..
Since, google geocoder started returning multiple addresses(Note that the string I display to them is exactly same), Even though they have entered a correct address, my screen keeps asking them to enter a correct address. I have not tried any other fields of the Placemark objects to see if there is something different about the two Placemarks. I would like to make sure that the address user has typed is what he intended to use, and with the geocoder returning 2 placemarks, I can not. On May 18, 11:32 am, "[email protected]" <[email protected]> wrote: > On May 18, 9:09 am, [email protected] wrote: > > > I have created a ticket on this issue for Geocoder > > APIhttp://code.google.com/p/gmaps-api-issues/issues/detail?id=1304. > > > I hope somebody at google replies soon. > > What problem is it causing? Is there a reason you can't just use the > first value returned? The geocoder has always returned multiple > values when it had multiple matches, like this > one:http://www.geocodezip.com/example_geo2.asp?addr1=817%20Lighthouse%20P... > > -- Larry > > > > > On May 18, 10:52 am, [email protected] wrote: > > > > I am running into same issue. I am using Google maps Javascript > > > Geocoder to get the lat/lon for a user entered address and I am > > > getting two placemark objects for the following locations: > > > > -15303, Dallas Pkwy Addison Texas > > > -14709 Tanglewood Dr, Farmers Branch, Texas. > > > > Is there a issue related to this one in google's bug list. Does > > > somebody have a work around to fix this ? > > > > On May 16, 1:07 pm, "[email protected]" <[email protected]> > > > wrote: > > > > > On May 12, 6:48 pm, Mike Williams <[email protected]> wrote: > > > > > > Perhaps someone has recently used the edit function on maps.google.com > > > > > to move the marker from the street to the building, and the old > > > > > location > > > > > is still in the database in case it needs to be reverted. > > > > > > Other addresses in the same street only have a single Placemark each, > > > > > and they're all in the street rather than on therooftop. > > > > > > --http://econym.org.uk/gmap > > > > > The Blackpool Community Church Javascript Team > > > > > I am starting to see the same thing show up in other places also: > > > > This address now returns 2 locations as well, the new one being the > > > > street:http://www.geocodezip.com/example_geo2.asp?addr1=6147%20Balboa%20San%... > > > > > This address as > > > > well:http://www.geocodezip.com/example_geo2.asp?addr1=2310%20El%20Cajon%20... > > > > > -- Larry- Hide quoted text - > > > - Show quoted text - > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
