Geocoder geocoder = new Geocoder(this, Locale.getDefault()); List<Address> addresses = geocoder.getFromLocation(lat, lng, 1);
using this code its working On Sat, Jan 8, 2011 at 2:03 AM, Ankur Avlani <[email protected]> wrote: > Hi All, > > I am using android map api. To plot overlays, for some address I need to > get the lat lng values. I user GeoCoder to get the lat lng values based on > address. I am passing the complete address with City, State and Zip. But > the interesting part is, the GeoCoder does not always returns the lat lng > value for address. > > What I mean is, for some address it gets the lat lng, if i try again for > the same address it wont get the lat lng address. > > Has anyone faced this issue?. Any help is highly appreciated. > > Thanks, > Ankur > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" 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/android-developers?hl=en

