Functions to calculate the distance between two geohashes.
Methods summary:
inKm
: distance between two geohashes in kilometers.inMiles
: distance between two geohashes in miles.
npm install --save geohash-distance
GeohashDistance.inKm(hash1, hash2)
: return distance in kilometers between the given hashesGeohashDistance.inMiles(hash1, hash2)
: return distance in miles between the given hashes
var GeohashDistance = require('geohash-distance');