armi_s2geometry 0.0.1 copy "armi_s2geometry: ^0.0.1" to clipboard
armi_s2geometry: ^0.0.1 copied to clipboard

Flutter package for S2Geometry, a spherical geometry library for geographic applications, credits to dart-s2geometry. This package is a fork of the original dart-s2geometry package, with some modifica [...]

S2 Geometry for Dart #

Dart port of the C++ s2geometry and Go geo libraries.

Usage #

A simple usage example:

import 'package:armi_s2geometry/armi_s2geometry.dart';

main() {
  S2LatLng latLng = new S2LatLng.fromDegrees(10.4883764, -73.2721948);
  S2CellId cellId = new S2CellId.fromLatLng(latLng).parent(14);
  print(cellId.toToken());
}

Notes #

This library depends on int being a 64 bit signed integer, and thus may not work under JavaScript targets.

Features and bugs #

Please file feature requests and bugs at the [issue tracker][tracker].

1
likes
110
points
17
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter package for S2Geometry, a spherical geometry library for geographic applications, credits to dart-s2geometry. This package is a fork of the original dart-s2geometry package, with some modifications to make it work with Flutter. The original package can be found at https://pub.dev/packages/s2geometry. This package is not affiliated with the original package.

Homepage

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on armi_s2geometry