ui.Map.Layer.setEeObject

Sets the layer's ee.Object.

Returns this map layer.

UsageReturns
Layer.setEeObject(eeObject)ui.Map.Layer
ArgumentTypeDetails
this: ui.map.layerui.Map.Layer

The ui.Map.Layer instance.

eeObjectCollection|Feature|Image, optional

The object to add to the map. Defaults to an empty ee.Image.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!