Interface DistanceAwareLocation
- All Superinterfaces:
Comparable<DistanceAwareLocation>,Location
- All Known Implementing Classes:
DefaultLocation
Represents a location that keeps information to a reference GPS position. Such location may be used as Points Of
Interest on a map. Such POIs can be easily sorted by the distance value.
-
Method Summary
Modifier and TypeMethodDescriptionreturns distance [km] to reference GPS positionMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface de.hybris.platform.storelocator.location.Location
getAddressData, getCountry, getDescription, getGPS, getMapIconUrl, getName, getTextualAddress, getType
-
Method Details
-
getDistance
Double getDistance()returns distance [km] to reference GPS position
-