ui.Map.GeometryLayer.toGeometry

Returns the layer's geometries as a single ee.Geometry.
UsageReturns
GeometryLayer.toGeometry()Geometry
ArgumentTypeDetails
this: ui.map.geometrylayerui.Map.GeometryLayerThe ui.Map.GeometryLayer instance.