public interface GeocodeProvider
GeocodeProvider
provides an interface to convert address strings into latitude
and longitude coordinates and back to addresses again.Modifier and Type | Method and Description |
---|---|
Coordinates |
geocode(String address)
Convert an address into geographic coordinates (latitude and longitude).
|
String |
reverseGeocode(Coordinates coords)
Convert geographic coordinates (latitude and longitude) into a
human-readable address.
|
Coordinates geocode(String address) throws AddressException
address
- Address string to geocode.AddressException
String reverseGeocode(Coordinates coords) throws AddressException
coords
- Coordinates to determine address from.AddressException
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"