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

outdated

This is a Lat Lon and UTM bidirectional converter

example/utm_example.dart

import 'package:utm/utm.dart';

main() {
  final utm = UTM.fromLatLon(lat: -30, lon: -150);
  print('zone: ${utm.zone}');
  print('N: ${utm.northing}');
  print('E: ${utm.easting}');
  print('lat: ${utm.lat}');
  print('lat: ${utm.lon}');

  final latlon = UTM.fromUtm(
    easting: utm.easting,
    northing: utm.northing,
    zoneNumber: utm.zoneNumber,
    zoneLetter: utm.zoneLetter,
  );
  print('lat: ${latlon.lat}');
  print('lon: ${latlon.lon}');
}
9
likes
0
points
920
downloads

Publisher

unverified uploader

Weekly Downloads

This is a Lat Lon and UTM bidirectional converter

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

angles, meta

More

Packages that depend on utm