| Package | Description |
|---|---|
| de.alpharogroup.jgeohash.distance | |
| de.alpharogroup.jgeohash.geoip |
| Modifier and Type | Method and Description |
|---|---|
static MeasuringUnit |
MeasuringUnit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MeasuringUnit[] |
MeasuringUnit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static double |
DistanceCalculator.distance(double startLatitude,
double startLongitude,
double endLatitude,
double endLongitude,
MeasuringUnit unit)
Returns the distance from the given coordinates values.
|
static double |
DistanceCalculator.distanceBetweenPoints(Position start,
Position end,
MeasuringUnit unit)
Returns the distance between two points.
|
static double |
DistanceCalculator.distanceBetweenPoints(String startGeohashValue,
String endGeohashValue,
MeasuringUnit unit)
Returns the distance between two given geohash values.
|
| Modifier and Type | Method and Description |
|---|---|
static List<DistancePoint> |
LocationUtils.getDistancePoints(Position startPoint,
List<Position> geohashes,
MeasuringUnit unit)
Sort the given list by distance from the given start position and returns a list of
DistancePoint objects. |
static List<Position> |
LocationUtils.sortByDistance(Position startPoint,
List<Position> geohashes,
MeasuringUnit unit)
Sort the given list by distance from the given start position.
|
Copyright © 2010–2015 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.