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.LayerThe ui.Map.Layer instance.
visParamsFeatureVisualizationParameters|ImageVisualizationParameters, optionalThe visualization parameters. See ee.data.getMapId() docs.