public final class Geocoder extends Object
| Constructor and Description |
|---|
Geocoder(Context context) |
Geocoder(Context context,
Locale locale) |
| Modifier and Type | Method and Description |
|---|---|
List<Address> |
getFromLocation(double latitude,
double longitude,
int maxResults) |
List<Address> |
getFromLocationName(String locationName,
int maxResults) |
List<Address> |
getFromLocationName(String locationName,
int maxResults,
double lowerLeftLatitude,
double lowerLeftLongitude,
double upperRightLatitude,
double upperRightLongitude) |
static boolean |
isPresent() |
public Geocoder(Context context)
public static boolean isPresent()
public List<Address> getFromLocation(double latitude, double longitude, int maxResults) throws IOException
IOExceptionpublic List<Address> getFromLocationName(String locationName, int maxResults) throws IOException
IOExceptionpublic List<Address> getFromLocationName(String locationName, int maxResults, double lowerLeftLatitude, double lowerLeftLongitude, double upperRightLatitude, double upperRightLongitude) throws IOException
IOExceptionCopyright © 2008-2013. All Rights Reserved.