calcDistanceBetweenTwoCoordinates

fun calcDistanceBetweenTwoCoordinates(a: LatLng, b: LatLng): Double

Finds the distance between two polar coordinates

Return

Distance between a and b Math doc: https://www.geeksforgeeks.org/program-distance-two-points-earth/

Parameters

a

Pair of polar coordinates

b

Pair of polar coordinates