Interface GeolocationProvider
public interface GeolocationProvider
Provide geolocation functionality.
There is no framework implementation of this interface.
To provide geolocation functionality to DefaultGeoCoordinateService
, create an
implementation of this and register it as a bean. It will be injected into
DefaultGeoCoordinateService
.
-
Method Summary
Modifier and TypeMethodDescriptiongetCoordinates
(com.broadleafcommerce.fulfillment.common.domain.Address address) Get latitude and longitude (asGeoCoordinates
) for the givenAddress
.
-
Method Details
-
getCoordinates
Get latitude and longitude (asGeoCoordinates
) for the givenAddress
.- Parameters:
address
- TheAddress
to look up.- Returns:
- The latitude and longitude (as
GeoCoordinates
) for the givenAddress
.
-