ui.Map.GeometryLayer.toGeometry

Returns the layer's geometries as a single ee.Geometry.

UsageReturns
GeometryLayer.toGeometry()Geometry
ArgumentTypeDetails
this: ui.map.geometrylayerui.Map.GeometryLayer

The ui.Map.GeometryLayer instance.