georange 1.0.0 georange: ^1.0.0 copied to clipboard
A package that helps with encoding geohashes, decoding geohashes,calculating distance between 2 points and generating latitudinal and longitudinal ranges as geohashes to help with the querying of data [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add georange
With Flutter:
$ flutter pub add georange
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
georange: ^1.0.0
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:georange/georange.dart';