public class GeocoderProxy extends Object
Modifier and Type | Method and Description |
---|---|
static GeocoderProxy |
createAndBind(Context context,
int overlaySwitchResId,
int defaultServicePackageNameResId,
int initialPackageNamesResId,
Handler handler) |
String |
getConnectedPackageName() |
String |
getFromLocation(double latitude,
double longitude,
int maxResults,
GeocoderParams params,
List<Address> addrs) |
String |
getFromLocationName(String locationName,
double lowerLeftLatitude,
double lowerLeftLongitude,
double upperRightLatitude,
double upperRightLongitude,
int maxResults,
GeocoderParams params,
List<Address> addrs) |
public static GeocoderProxy createAndBind(Context context, int overlaySwitchResId, int defaultServicePackageNameResId, int initialPackageNamesResId, Handler handler)
public String getConnectedPackageName()
public String getFromLocation(double latitude, double longitude, int maxResults, GeocoderParams params, List<Address> addrs)
public String getFromLocationName(String locationName, double lowerLeftLatitude, double lowerLeftLongitude, double upperRightLatitude, double upperRightLongitude, int maxResults, GeocoderParams params, List<Address> addrs)