ui.Map.Layer.setVisParams

Sets the layer's visualization parameters.

Returns this map layer.

UsageReturns
Layer.setVisParams(visParams)ui.Map.Layer
ArgumentTypeDetails
this: ui.map.layerui.Map.Layer

The ui.Map.Layer instance.

visParamsFeatureVisualizationParameters|ImageVisualizationParameters, optional

The visualization parameters. See ee.data.getMapId() docs.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!