calculatePolygonArea method
Calculate the area of a polygon defined by a list of polygonPoints
points.
Given a list of polygonPoints
representing the vertices of a polygon, this function calculates and returns the area of the polygon.
Implementation
double calculatePolygonArea(List<LatLng> polygonPoints) {
return PolygonArea.calculatePolygonArea(polygonPoints);
}