public class GoogleMapTools extends Object
| Constructor and Description |
|---|
GoogleMapTools() |
public String getGoogleQuery(AddressData addressData)
public GPS geocodeAddress(Location address) throws GeoServiceWrapperException
GeoServiceWrapperExceptionpublic RouteData getDistanceAndRoute(Location start, Location destination) throws GeoServiceWrapperException
GeoServiceWrapperExceptionpublic RouteData getDistanceAndRoute(GPS start, GPS destination) throws GeoServiceWrapperException
GeoServiceWrapperException@Deprecated public RouteData getDistanceAndRoute(GPS start, Location destination) throws GeoServiceWrapperException
getDistanceAndRoute(GPS, GPS) instead.GeoServiceWrapperExceptionpublic GPS geocodeAddress(AddressData addressData) throws GeoServiceWrapperException
GeoServiceWrapperExceptionprotected String appendBusinessParams(String urlAddress)
urlAddress - protected URI singAndEncodeURL(String urlAddress)
urlAddress - protected boolean isBusinessAPI()
public void setAddressLocationParser(GeolocationResponseParser<MapLocationData> addressLocationParser)
public void setRouteDataParser(GeolocationResponseParser<RouteData> routeDataParser)
public void setBaseUrl(String baseUrl)
public void setGoogleKey(String googleKey)
public void setDirectionsUrlBuilder(GeolocationDirectionsUrlBuilder directionsUrlBuilder)
public void setCliendId(String cliendId)
public void setCryptoKey(String signature)
Copyright © 2017 SAP SE. All Rights Reserved.