title: How to find distance of a polyline in google maps in android?
body: <p>Can you tell me how to get a distance of a polyline between to points in google maps in android?</p>
  
  <pre><code>map.addPolyline(new PolylineOptions()
   .add(new LatLng(75.5, -1.1), new LatLng(60.7, -84.0), 80.7, -32.0))
   .width(5)
   .color(Color.BLUE));
  </code></pre>
  
  <p>In above code i have drawn a path using polyline. So i want to know how to i calculate ot get the distance of this polyline. I know there are some methods such as "distanceTo". THose methods gives you the distance between to points. But in my case i have few points as you can see in the above example, to draw a single polyline. </p>