Geohash class

A collection of static functions to work with geohashes, as exlpained here

Constructors

Geohash()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

decode(String geohash) → LatLng
Get a single number that is the center of a specific geohash rectangle.
encode({required LatLng latLng, required int codeLength}) String
Encode a latitude and longitude pair into a geohash string.
getExtents(String geohash) Rectangle<double>
Get the rectangle that covers the entire area of a geohash string.