mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
we now show real distances in the GUI
This commit is contained in:
parent
3b89abe1ef
commit
6f39ba1331
4 changed files with 37 additions and 4 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue