ee.Feature.bounds

Returns a feature containing the bounding box of the geometry of a given feature.

UsageReturns
Feature.bounds(maxError, proj)Feature
ArgumentTypeDetails
this: featureElementThe feature the bound of which is being calculated.
maxErrorErrorMargin, default: nullThe maximum amount of error tolerated when performing any necessary reprojection.
projProjection, default: nullIf specified, the result will be in this projection. Otherwise it will be in WGS84.