geojson2h3_plus 1.0.0+v4.2.1
geojson2h3_plus: ^1.0.0+v4.2.1 copied to clipboard
The geojson2h3_plus library includes a set of utilities for conversion between GeoJSON polygons and H3 hexagon indexes, using h3. Inspired by JS library geojson2h3.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add geojson2h3_plus
With Flutter:
$ flutter pub add geojson2h3_plus
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
geojson2h3_plus: ^1.0.0+v4.2.1
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:geojson2h3_plus/geojson2h3_plus.dart';