Package slash.navigation.googlemaps
Class GoogleGeocodingService
java.lang.Object
slash.navigation.geocoding.BaseGeocodingService
slash.navigation.googlemaps.GoogleGeocodingService
- All Implemented Interfaces:
GeocodingService
Encapsulates REST access to the Google Geocoding API Service.
- Author:
- Christian Pesch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAddressFor(NavigationPosition position) Retrieves an address for a givenNavigationPosition.getName()getPositionsFor(String address) Retrieves a list ofGeocodingResults for a given address.booleanbooleanMethods inherited from class slash.navigation.geocoding.BaseGeocodingService
asGeocodingResults, asGeocodingResults
-
Constructor Details
-
GoogleGeocodingService
public GoogleGeocodingService()
-
-
Method Details
-
getName
-
isDownload
public boolean isDownload() -
isOverQueryLimit
public boolean isOverQueryLimit() -
getPositionsFor
Description copied from interface:GeocodingServiceRetrieves a list ofGeocodingResults for a given address.- Parameters:
address- the address to geocode- Returns:
- a list of
GeocodingResults for the given address - Throws:
IOException- if the request fails
-