Package-level declarations

Functions

Link copied to clipboard
fun getDistance(lat1: Double, lat2: Double, lon1: Double, lon2: Double): Double

Calculate distance between two points in latitude and longitude taking into account height difference. If you are not interested in height difference pass 0.0. Uses Haversine method as its base.