/tripkit/CommonCoreLegacy/com.skedgo.tripkit.common.model.location/Location/distanceTo
distanceTo
\ fun distanceTo(location: Location?): Int
\ fun distanceTo(lat: Double, lon: Double): Int
Get the distance between this and another point
This implementation was pulled from: CodeCodex
Return
The distance in meters between this
and that
Parameters
androidJvm
lat |
lon |
See also
Haversine Formula |