Class BaiduMapsServiceWrapper
- java.lang.Object
-
- de.hybris.platform.storelocator.impl.CommerceMockGeoWebServiceWrapper
-
- de.hybris.platform.chinesestoreservices.map.impl.BaiduMapsServiceWrapper
-
- All Implemented Interfaces:
GeoWebServiceWrapper
public class BaiduMapsServiceWrapper extends CommerceMockGeoWebServiceWrapper
The wrapper that performs communication with baidu geo-location services
-
-
Constructor Summary
Constructors Constructor Description BaiduMapsServiceWrapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringformatAddress(Location address)Formats the address textual information depending on the implementationGPSgeocodeAddress(AddressData address)Translate AddressData to IGPS using 3rd party serviceGPSgeocodeAddress(Location location)Translate IAddress to IGPS using 3rd party serviceprotected BaiduMapToolsgetMapTools()protected BaiduMapToolsgetMapTools(java.lang.String url)voidsetBaiduMapTools(BaiduMapTools baiduMapTools)-
Methods inherited from class de.hybris.platform.storelocator.impl.CommerceMockGeoWebServiceWrapper
getBaseStoreService, getCountryIsoGPSLocationMap, getDistanceAndRoute, getDistanceAndRoute, setBaseStoreService, setCountryIsoGPSLocationMap
-
-
-
-
Method Detail
-
setBaiduMapTools
public void setBaiduMapTools(BaiduMapTools baiduMapTools)
-
getMapTools
protected BaiduMapTools getMapTools(java.lang.String url)
-
getMapTools
protected BaiduMapTools getMapTools()
-
formatAddress
public java.lang.String formatAddress(Location address)
Description copied from interface:GeoWebServiceWrapperFormats the address textual information depending on the implementation- Specified by:
formatAddressin interfaceGeoWebServiceWrapper- Overrides:
formatAddressin classCommerceMockGeoWebServiceWrapper- Parameters:
address-Location- Returns:
String
-
geocodeAddress
public GPS geocodeAddress(Location location)
Description copied from interface:GeoWebServiceWrapperTranslate IAddress to IGPS using 3rd party service- Specified by:
geocodeAddressin interfaceGeoWebServiceWrapper- Overrides:
geocodeAddressin classCommerceMockGeoWebServiceWrapper- Returns:
- IGPS
-
geocodeAddress
public GPS geocodeAddress(AddressData address)
Description copied from interface:GeoWebServiceWrapperTranslate AddressData to IGPS using 3rd party service- Specified by:
geocodeAddressin interfaceGeoWebServiceWrapper- Overrides:
geocodeAddressin classCommerceMockGeoWebServiceWrapper- Returns:
- IGPS
-
-