ui.Map.GeometryLayer

A layer of ee.Geometries for display as shapes on a ui.Map.
UsageReturns
ui.Map.GeometryLayer(geometries, name, color, shown, locked)ui.Map.GeometryLayer
ArgumentTypeDetails
geometriesList, optionalThe geometries with which to initialize the layer.
nameString, optionalThe name of the layer.
colorString, optionalThe CSS color of shapes in the layer, for instance

"white" or "#FFFFFF". Defaults to "#000000" (black).

shownBoolean, optionalWhether to show the shapes in the layer. Defaults to true.
lockedBoolean, optionalWhether to lock shape editing in the layer. Defaults to false.