ui.Map.Layer.setEeObject

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

Sets the layer's ee.Object.

Returns this map layer.

UsageReturns
Layer.setEeObject(eeObject)ui.Map.Layer
ArgumentTypeDetails
this: ui.map.layerui.Map.LayerThe ui.Map.Layer instance.
eeObjectCollection|Feature|Image, optionalThe object to add to the map. Defaults to an empty ee.Image.