ee.Feature.transform

Transforms the geometry of a feature to a specific projection.

UsageReturns
Feature.transform(proj, maxError)Feature
ArgumentTypeDetails
this: featureElementThe feature the geometry of which is being converted.
projProjection, optionalThe target projection. Defaults to WGS84. If this has a geographic CRS, the edges of the geometry will be interpreted as geodesics. Otherwise they will be interpreted as straight lines in the projection.
maxErrorErrorMargin, default: nullThe maximum projection error.