df_gps_math 0.1.1+1 copy "df_gps_math: ^0.1.1+1" to clipboard
df_gps_math: ^0.1.1+1 copied to clipboard

A package that provides some math functions for global (GPS) positions.

DF GPS Math #

Dart & Flutter Packages by DevCetra.com & contributors.

pub package

Summary #

A package that provides some math functions for global (GPS) positions. For a full feature set, please refer to the API reference.

Usage Example #

final gpsMath = GPSMath();

// Approx. position for Hobart, Tasmania.
const hobart = (lat: -42.8821, lng: 147.3272, alt: 0.0);

// Approx. position for Pretoria, South Africa.
const pretoria = (lat: -25.7479, lng: 28.2293, alt: 0.0);

// Calculate the distance between Hobart and Pretoria.
final distance = gpsMath.calculateHavershire3DDistance(
pos1: hobart,
pos2: pretoria,
unit: DistanceUnit.KILOMETRES,
radius: CelestialRadius.EARTH,
);

print('Hobart -> Pretoria = ${distance.round()} km');

Installation #

Use this package as a dependency by adding it to your pubspec.yaml file (see here).

Contributing and Discussions #

This is an open-source project, and contributions are welcome from everyone, regardless of experience level. Contributing to projects is a great way to learn, share knowledge, and showcase your skills to the community. Join the discussions to ask questions, report bugs, suggest features, share ideas, or find out how you can contribute.

Join GitHub Discussions: #

💬 https://github.com/robmllze/df_gps_math/discussions/

Join Reddit Discussions: #

💬 https://www.reddit.com/r/df_gps_math/

Chief Maintainer: #

📧 Email Robert Mollentze at robmllze@gmail.com

License #

This project is released under the MIT License. See LICENSE for more information.

1
likes
0
pub points
62%
popularity

Publisher

verified publisherdevcetra.com

A package that provides some math functions for global (GPS) positions.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on df_gps_math