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 <johan.wal...@gmail.com> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to