A layer of ee.Geometries for display as shapes on a ui.Map.

ui.Map.GeometryLayer(geometries, name, color, shown, locked)ui.Map.GeometryLayer
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.