diff options
Diffstat (limited to 'deps/geohash-int/geohash_helper.h')
-rw-r--r-- | deps/geohash-int/geohash_helper.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/deps/geohash-int/geohash_helper.h b/deps/geohash-int/geohash_helper.h index 0e38740de..70c6b2095 100644 --- a/deps/geohash-int/geohash_helper.h +++ b/deps/geohash-int/geohash_helper.h @@ -58,6 +58,8 @@ GeoHashRadius geohashGetAreasByRadiusWGS84(double longitude, double latitude, GeoHashRadius geohashGetAreasByRadiusMercator(double longitude, double latitude, double radius_meters); GeoHashFix52Bits geohashAlign52Bits(const GeoHashBits hash); +double geohashGetDistance(double lon1d, double lat1d, + double lon2d, double lat2d); int geohashGetDistanceIfInRadius(double x1, double y1, double x2, double y2, double radius, double *distance); |