proximity_hash library

Properties

geoHasher GeoHasher
getter/setter pair
gridHeight List<double>
getter/setter pair
gridWidth List<double>
getter/setter pair

Functions

convertToGeohash(dynamic y, dynamic x, dynamic latitude, dynamic longitude, int precision) String
Convert location point to geohash taking into account Earth curvature
createGeohashes(double latitude, double longitude, double radius, int precision) List<String>
createGeohashesBoundingBox(double minlatitude, double minlongitude, double maxlatitude, double maxlongitude, int precision) List<String>
getCentroid(dynamic latitude, dynamic longitude, dynamic height, dynamic width) List<double?>
Get centroid
inCircleCheck(double latitude, double longitude, double centerLat, double centerLon, double radius) bool
Check to see if a point is contained in a circle