s2geometry 0.1.1 s2geometry: ^0.1.1 copied to clipboard
Dart port of the S2 Geometry library
example/s2geometry_example.dart
import 'package:s2geometry/s2geometry.dart';
main() {
S2LatLng latLng = new S2LatLng.fromDegrees(49.703498679, 11.770681595);
S2CellId cellId = new S2CellId.fromLatLng(latLng);
print(cellId.toToken());
}