ee.ImageCollection.bounds

Constructs a bounding box around the geometries in a collection.

UsageReturns
ImageCollection.bounds(maxError, proj)Geometry
ArgumentTypeDetails
this: collectionFeatureCollectionThe collection whose bounds will be constructed.
maxErrorErrorMargin, optionalThe maximum amount of error tolerated when performing any necessary reprojection.
projProjection, optionalIf specified, the result will be in this projection. Otherwise it will be in EPSG:4326.