computeDistanceFromListOfPoints static method
Returns the distance summed from all LatLng points, in meters
Implementation
static num computeDistanceFromListOfPoints(List<Point> points) {
num total = 0.0;
for (int i = 0; i < points.length - 1; i++) {
total += computeDistanceBetween(points[i], points[i + 1]);
}
return total;
}