Package org.localify.common.geocoding
Class AppleGeocoding
java.lang.Object
org.localify.common.geocoding.AppleGeocoding
A service for geocoding addresses using the Apple Maps API.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGeocodes an address.voidSets the access token for the Apple Maps API.
-
Field Details
-
API_SERVER
The base URL for the Apple Maps API.- See Also:
-
-
Constructor Details
-
AppleGeocoding
public AppleGeocoding()
-
-
Method Details
-
setAccessToken
public void setAccessToken()Sets the access token for the Apple Maps API. -
geocode
Geocodes an address.- Parameters:
address- The address to geocode.- Returns:
- The geocoding results.
-