alto_great_circle_distance 0.0.3 icon indicating copy to clipboard operation
alto_great_circle_distance: ^0.0.3 copied to clipboard

discontinued

Plugin for calculating Great Circle Distance with Spherical Law of Cosines.

Great Circle Distance #

Plugin for calculating Great Circle Distance by Spherical Law of Cosines.

Spherical Law of Cosines

The great-circle distance, orthodromic distance, or spherical distance is the distance along a great circle. It is the shortest distance between two points on the surface of a sphere, measured along the surface of the sphere (as opposed to a straight line through the sphere's interior).

Usage #

// The Geolocation of St.Mary Cathedral
final Geo geo1 = Geo(lat: 16.77858116672366, lon: 96.1657684686045);
// The Geolocation of St. Peter's Basilica
final Geo geo2 = Geo(lat: 41.90219864557144, lon: 12.454035933187363);

// The distance in km.
final double? theDistance = await GCD().cal(geo1: geo1, geo2: geo2);
0
likes
0
pub points
25%
popularity

Publisher

verified publisher iconaltotunchitoo.me

Plugin for calculating Great Circle Distance with Spherical Law of Cosines.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on alto_great_circle_distance