Calculate the area of a polygon in square meters using the spherical excess formula.
coords
Float64Array
[lng0,lat0, lng1,lat1, ..., lng0,lat0]
For polygons with holes, use areaWithHoles instead.
areaWithHoles
Calculate the area of a polygon in square meters using the spherical excess formula.
Arguments
coords: FlatFloat64Arrayof a closed ring[lng0,lat0, lng1,lat1, ..., lng0,lat0].For polygons with holes, use
areaWithHolesinstead.