Get longitude and latitude for the corners of a geohash

41 Views Asked by At

How can I get the longitude and latitude of the four corners of a geohash? Preferrably in Flutter.

1

There are 1 best solutions below

1
pcba-dev On

There are several libraries, such as:

As indicated in the dart_geohash docs:

// Create a simple geohash from a given string
final GeoHash myHash = GeoHash("9yf0zhhtj");


myHash.longitude();
myHash.latitude(decimalAccuracy: 4);