ui.Map.GeometryLayer.fromGeometry

Resets the layer's geometries by parsing individual geometries from an ee.Geometry.

Returns this geometry layer.

UsageReturns
GeometryLayer.fromGeometry(geometry)ui.Map.GeometryLayer
ArgumentTypeDetails
this: ui.map.geometrylayerui.Map.GeometryLayerThe ui.Map.GeometryLayer instance.
geometryGeometryA geometry with which to reset the layer's geometries.