Actually, it doesn't work even with the simple form:

    Locale swedish = new Locale("sv");
    Geocoder geocoder = new Geocoder(this, swedish);
    locations = geocoder.getFromLocationName(findMe, 700);

I get 20 hits from that, none of them in Stockholm (which is the one
I'm looking for).

Help!

  //Johan

On 8 Okt, 10:36, Nithin <[email protected]> wrote:
> hi Walles,
>
> geocoder.getFromLocationName(locationName, 5); will return a list of
> values and here, 5 is the no. of results(values) we want. So according
> to that we can get the corresponding latitude and longitude..
>
> Thanks
> Nithin
>
> here, 5 is the total number of results, that we want,
>
> On Oct 8, 11:14 am, Walles <[email protected]> wrote:
>
> > How can I convert a street address into a latitude + longitude?
>
> > I've tried to use Geocoder.getFromLocationName() with a bounding box,
> > but all results I get are outside of the box.  Is there a way to limit
> > the hits to a certain area on earth?
>
> >    Regards //Johan
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to