ui.Map.GeometryLayer.fromGeometry

Stay organized with collections Save and categorize content based on your preferences.

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.