GeoHasher class
A class that can convert a geohash String to Longitude, Latitude
and back.
Constructors
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
-
decode(
String geohash) → List< double> - Decodes a given String into a List
-
encode(
double longitude, double latitude, {int precision = 12}) → String - Encodes a given Longitude and Latitude into a String geohash
-
neighbors(
String geohash) → Map< String, String> -
Returns a Map<String, String> containing the
Direction
as the key and the value being the geohash of the neighboring geohash in that direction. -
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