Return length of this polyline in meters.

def LengthMeters(self):
    """Return length of this polyline in meters."""
    assert(len(self._points) > 0)
    length = 0
    for i in range(0, len(self._points) - 1):
      length += self._points[i].GetDistanceMeters(self._points[i+1])
    return length