area method
Returns the projected planar area (typically in square pixels) for the
specified GeoJSON object
.
Point, MultiPoint, LineString and MultiLineString geometries have zero area. For Polygon and MultiPolygon geometries, this method first computes the area of the exterior ring, and then subtracts the area of any interior holes. This method observes any clipping performed by the transform.
Implementation
double area(Map object) => planar.area(object, _transformStream);