JMap.Geometry.getArea
Works for feature having geometry equals to Polygon or a MultiPolygon.
It returns the area in square meters.
Throw an error if the provided feature geometry is not a Polygon or a MultiPolygon.
The Polygon or MultiPolygon feature
const feature = ...// The method will return the area in m2JMap.Geometry.getArea(feature) Copy
const feature = ...// The method will return the area in m2JMap.Geometry.getArea(feature)
JMap.Geometry.getArea
Works for feature having geometry equals to Polygon or a MultiPolygon.
It returns the area in square meters.
Throw an error if the provided feature geometry is not a Polygon or a MultiPolygon.