ee.Geometry.LineString.toGeoJSON

Returns a GeoJSON representation of the geometry.

UsageReturns
LineString.toGeoJSON()GeoJSONGeometry
ArgumentTypeDetails
this: geometryGeometry

The Geometry instance.