public class GeocodingApi
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
static GeocodingApiRequest |
geocode(GeoApiContext context,
java.lang.String address) |
Requests the latitude and longitude of an
address . |
static GeocodingApiRequest |
newRequest(GeoApiContext context) |
Creates a new Geocoding API request.
|
static GeocodingApiRequest |
reverseGeocode(GeoApiContext context,
LatLng location) |
Requests the street address of a
location . |
public static GeocodingApiRequest newRequest(GeoApiContext context)
context
- The GeoApiContext
to make requests through.public static GeocodingApiRequest geocode(GeoApiContext context, java.lang.String address)
address
.context
- The GeoApiContext
to make requests through.address
- The address to geocode.public static GeocodingApiRequest reverseGeocode(GeoApiContext context, LatLng location)
location
.context
- The GeoApiContext
to make requests through.location
- The location to reverse geocode.