ee.Feature.dissolve

Returns a feature containing the union of the geometry of a feature. This leaves single geometries untouched, and unions multi geometries.

UsageReturns
Feature.dissolve(maxError, proj)Element
ArgumentTypeDetails
this: featureElementThe feature the geometry of which is being unioned.
maxErrorErrorMargin, default: nullThe maximum amount of error tolerated when performing any necessary reprojection.
projProjection, default: nullIf specified, the union will be performed in this projection. Otherwise it will be performed in a spherical coordinate system.