gridlocator 0.0.3 copy "gridlocator: ^0.0.3" to clipboard
gridlocator: ^0.0.3 copied to clipboard

A library for converting a latitude and longitude into a Maidenhead grid locator.

example/example.dart

import 'package:gridlocator/gridlocator.dart';

void main() {
  const m = Gridlocator(-34.91, -56.211666666666667);
  final m2 = Gridlocator.decode('GF15vc');

  // ignore: avoid_print
  print('GridLocator: ${m.encode()}');
  // ignore: avoid_print
  print('lat,lng: ${m2.latitude}, ${m2.longitude}');
}
2
likes
160
points
44
downloads

Publisher

verified publishertai-ga.dev

Weekly Downloads

A library for converting a latitude and longitude into a Maidenhead grid locator.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on gridlocator