geohash.js
v1.0.0
Published
geohash => [lat,lng]
Downloads
845
Readme
geohash.js
"geohash" <=> [lat,lng]
Usage
var lat = 39.90882;
var lng = 116.39750;
var hash = Geohash.encode(lat, lng); // wx4g09njdr6
var result = Geohash.decode(hash);
result[0] === lat; // true
result[1] === lng; // true