10 references to DistanceUnits
Microsoft.Maui.Essentials (10)
Types\Location.shared.cs (6)
186 public static double CalculateDistance(double latitudeStart, double longitudeStart, Location locationEnd, DistanceUnits units) => 197 public static double CalculateDistance(Location locationStart, double latitudeEnd, double longitudeEnd, DistanceUnits units) => 207 public static double CalculateDistance(Location locationStart, Location locationEnd, DistanceUnits units) => 224 DistanceUnits units) 228 case DistanceUnits.Kilometers: 230 case DistanceUnits.Miles:
Types\LocationExtensions.shared.cs (4)
12 /// <inheritdoc cref="Location.CalculateDistance(double, double, double, double, DistanceUnits)"/> 13 public static double CalculateDistance(this Location locationStart, double latitudeEnd, double longitudeEnd, DistanceUnits units) => 16 /// <inheritdoc cref="Location.CalculateDistance(Location, Location, DistanceUnits)"/> 17 public static double CalculateDistance(this Location locationStart, Location locationEnd, DistanceUnits units) =>