length

fun length(points: List<GeoPosition>): Double

The length of the line through points, in metres: the distances between each point and the next; 0 for fewer than 2 points.