public final class GeoUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static GeoBox |
createBoundingBox(double latitudeInDegrees,
double longitudeInDegrees,
double halfSideInMeters)
Converts a middle point and side distance to a lat/lon bounding box.
|
public static GeoBox createBoundingBox(double latitudeInDegrees, double longitudeInDegrees, double halfSideInMeters)
See http://stackoverflow.com/questions/238260/how-to-calculate-the-bounding-box-for-a-given-lat-lng-location
latitudeInDegrees - the latitude in degreeslongitudeInDegrees - the longitude in degreeshalfSideInMeters - the half side of box (like radius) in metersCopyright © 2017–2018 Committed. All rights reserved.