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, optional

The geometries with which to initialize the layer.

nameString, optional

The name of the layer.

colorString, optional

The CSS color of shapes in the layer, for instance

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

shownBoolean, optional

Whether to show the shapes in the layer. Defaults to true.

lockedBoolean, optional

Whether to lock shape editing in the layer. Defaults to false.