calculatePolyLineLength method
Calculate the length of a polyline formed by connecting multiple points.
Given a list of polyLinePoints
representing the vertices of a polyline, this function calculates and returns the length of the polyline in meters.
Implementation
double calculatePolyLineLength(List<LatLng> polyLinePoints) {
return PolyLine.calculatePolyLineLength(polyLinePoints);
}