geohash_plus 1.1.1 copy "geohash_plus: ^1.1.1" to clipboard
geohash_plus: ^1.1.1 copied to clipboard

Customizable Geohash, including Base16 and custom strings. Also available to get adjacent cells.

example/geohash_plus_example.dart

import 'package:geohash_plus/geohash_plus.dart';

void main() {
  // encode
  final geohashA = GeoHash.encode(57.64911, 10.40744, precision: 11);
  print(geohashA.hash);
  // decode
  final geohashB = GeoHash.decode('u4pruydqqvj');
  print(geohashB.center);
  // adjacent
  final adjacent = geohashB.adjacent(Direction.north);
  print(adjacent.hash);
}
4
likes
140
pub points
77%
popularity

Publisher

verified publisherzuvola.com

Customizable Geohash, including Base16 and custom strings. Also available to get adjacent cells.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

More

Packages that depend on geohash_plus