GeoHash constructor

GeoHash(
  1. String geohash
)

Constructor given a String geohash

Implementation

GeoHash(String geohash) {
  _geohash = geohash;
  _neighbors = GeoHasher().neighbors(geohash);
  _longitude = GeoHasher().decode(geohash)[0];
  _latitude = GeoHasher().decode(geohash)[1];
}