geoArea function

double geoArea(
  1. Map object
)

Returns the spherical area of the specified GeoJSON object in steradians.

This is the spherical equivalent of GeoPath.area.

Implementation

double geoArea(Map object) {
  _areaSum = Adder();
  areaStream(object);
  return _areaSum.valueOf() * 2;
}