ee.Geometry.toGeoJSON

Returns a GeoJSON representation of the geometry.

UsageReturns
Geometry.toGeoJSON()GeoJSONGeometry
ArgumentTypeDetails
this: geometryGeometry

The Geometry instance.