we now show real distances in the GUI

This commit is contained in:
geeksville 2020-02-17 15:03:34 -08:00
parent 3b89abe1ef
commit 6f39ba1331
4 changed files with 37 additions and 4 deletions

View file

@ -96,7 +96,10 @@ fun addDistance(
return doubleArrayOf(lat + dLat, longitude + dLong)
}
fun LatLongToMeter(
/**
* @return distance in meters along the surface of the earth (ish)
*/
fun latLongToMeter(
lat_a: Double,
lng_a: Double,
lat_b: Double,