-2

Actually i need a list of coordinates on which the line is drawn mention in the picture in details

Waleed
  • 63
  • 1
  • 3

1 Answers1

-1

When drawing a PloyLine save it in a global variable , If there are multiple PolyLines save them in a list . Use method polyline.getPoints() on PolyLine variable it will give you the List<LatLng>

Edit: If you want multiple points just find the center point between two points check midpoint between two latitude and longitude

Manohar
  • 22,116
  • 9
  • 108
  • 144