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.GeometryLayer

The ui.Map.GeometryLayer instance.

geometryGeometry

A geometry with which to reset the layer's geometries.