geography 1.1.2
geography: ^1.1.2 copied to clipboard
A library of geographical entities, their metadata, and relationships. Provides a basic, and an earth, library with methods for finding the nearest entity and measuring distances.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add geographyThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
geography: ^1.1.2Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:geography/basic.dart';
import 'package:geography/earth.dart';