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

Dart port of the S2 Geometry library

dart_s2geometry #

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

Usage #

A simple usage example:

import 'package:s2geometry/s2geometry.dart';

main() {
  S2LatLng latLng = new S2LatLng.fromDegrees(49.703498679, 11.770681595);
  S2CellId cellId = new S2CellId.fromLatLng(latLng);
  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.

1
likes
30
pub points
0%
popularity

Publisher

unverified uploader

Dart port of the S2 Geometry library

Repository (GitHub)
View/report issues

License

Apache-2.0 (LICENSE)

More

Packages that depend on s2geometry