s2geometry 0.2.1 copy "s2geometry: ^0.2.1" to clipboard
s2geometry: ^0.2.1 copied to clipboard

A Dart port of Google's S2 Geometry library for spherical geometry and spatial indexing.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add s2geometry

With Flutter:

 $ flutter pub add s2geometry

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  s2geometry: ^0.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:s2geometry/s2geometry.dart';
2
likes
150
points
181
downloads

Documentation

Documentation
API reference

Publisher

verified publisherslightfoot.dev

Weekly Downloads

A Dart port of Google's S2 Geometry library for spherical geometry and spatial indexing.

Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

collection, meta

More

Packages that depend on s2geometry