A library that uses the Haversine equation to determine distance between to locations using Latitude and Longitude.
$ dotnet add package SteeleDev.Maps.Extensions.CoordinatesMaps.Extensions.Coordinates is an extension library that takes latitude and longitude points of two locations and performs the haversine equation to calculate the distance between them.
using Maps.Extensions.Coordinates.Calculators;
# returns 2.3127142787752328
DistanceCalculator.Haversine(40.311833, -78.325436, 40.306965, -78.282006, DistanceType.Miles);