# ui.Map.CloudStorageLayer.setOpacity

<br />

Sets the opacity of the layer.

<br />

Returns this map layer.

| Usage | Returns |
|---|---|
| `CloudStorageLayer.setOpacity(*opacity*)` | ui.Map.AbstractLayer |

| Argument | Type | Details |
|---|---|---|
| this: `ui.map.abstractlayer` | ui.Map.AbstractLayer | The ui.Map.AbstractLayer instance. |
| `opacity` | Number, optional | The layer's opacity represented as a number between 0 and 1. |