@Deprecated
public interface GeocodeProvider
GeocodeProvider
provides an interface to convert address strings into latitude
and longitude coordinates and back to addresses again. @deprecated As of AEM 6.4Modifier and Type | Method and Description |
---|---|
Coordinates |
geocode(java.lang.String address)
Deprecated.
Convert an address into geographic coordinates (latitude and longitude).
|
java.lang.String |
reverseGeocode(Coordinates coords)
Deprecated.
Convert geographic coordinates (latitude and longitude) into a
human-readable address.
|
Coordinates geocode(java.lang.String address) throws AddressException
address
- Address string to geocode.AddressException
- when conversion failsjava.lang.String reverseGeocode(Coordinates coords) throws AddressException
coords
- Coordinates to determine address from.AddressException
- when conversion fails"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"