public interface LocationMapService
Map objects for Location objects depending on given
parameters such as postal code, country code, town name or GPS coordinates.getMapOfLocations(java.lang.String, java.lang.String, int, de.hybris.platform.store.BaseStoreModel),
getMapOfLocationsForTown(java.lang.String, int, de.hybris.platform.store.BaseStoreModel),
getMapOfLocationsForPostcode(java.lang.String, java.lang.String, int, de.hybris.platform.store.BaseStoreModel)| Modifier and Type | Method and Description |
|---|---|
Map |
getMapOfLocations(GPS gps,
int limitLocationsCount,
BaseStoreModel baseStore)
Calculating Map, basing on number of points of interest defined by user and proper radius.
|
Map |
getMapOfLocations(java.lang.String searchTerm,
java.lang.String countryCode,
int limitLocationsCount,
BaseStoreModel baseStore)
Method looks for nearby locations for given postal code or town name and creates Map object with found data.
|
Map |
getMapOfLocationsForPostcode(java.lang.String postalCode,
java.lang.String countryCode,
int limitLocationsCount,
BaseStoreModel baseStore)
Method looks for nearest locations (points of interest) to the place defined by postal code and country, and
creates Map object with given data.
|
Map |
getMapOfLocationsForTown(java.lang.String town,
int limitLocationsCount,
BaseStoreModel baseStore)
Method looks for nearest locations (points of interest) to the place defined by city name, and creates Map object
with given data.
|
Map getMapOfLocations(java.lang.String searchTerm, java.lang.String countryCode, int limitLocationsCount, BaseStoreModel baseStore)
searchTerm - the search term - can be postal code or town namecountryCode - the country code - country code to look for (valid if given value is postal code)limitLocationsCount - number of locations to returnbaseStore - if set, method will return locations bound to the given BaseStoreModelLocationMapServiceExceptionMap getMapOfLocationsForPostcode(java.lang.String postalCode, java.lang.String countryCode, int limitLocationsCount, BaseStoreModel baseStore)
postalCode - searching condition for locations - postal codecountryCode - searching condition for locations - country codelimitLocationsCount - number of locations to returnbaseStore - if set, method will return locations bound to the given BaseStoreModelLocationMapServiceExceptionMap getMapOfLocationsForTown(java.lang.String town, int limitLocationsCount, BaseStoreModel baseStore)
town - searching condition for locationslimitLocationsCount - number of locations to returnbaseStore - if set, method will return locations bound to the given BaseStoreModelLocationMapServiceExceptionMap getMapOfLocations(GPS gps, int limitLocationsCount, BaseStoreModel baseStore)
gps - coordinates of center pointlimitLocationsCount - number of places to find, defined by userbaseStore - if set, method will return locations bound to the given BaseStoreModelLocationMapServiceExceptionMapServiceExceptionCopyright © 2018 SAP SE. All Rights Reserved.