There is a Geocoder.getFromLocationName(name, max, lat, lon, lat, lon)
method.

The documentation says it should search inside the (lat, lon, lat,
lon) bounding box:
http://developer.android.com/reference/android/location/Geocoder.html#getFromLocationName(java.lang.String,
int, double, double, double, double)

In reality I get lots of hits outside of that box and none inside it
when I use that method.

Is there some other method I can use if I want to search for a user-
provided location string inside a bounding box?

  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