# ui.Map.FeatureViewLayer.setShown

<br />

Sets the visibility of the layer.

<br />

Returns this map layer.

| Usage | Returns |
|---|---|
| `FeatureViewLayer.setShown(*shown*)` | ui.Map.AbstractLayer |

| Argument | Type | Details |
|---|---|---|
| this: `ui.map.abstractlayer` | ui.Map.AbstractLayer | The ui.Map.AbstractLayer instance. |
| `shown` | Boolean, optional | Whether the layer is shown. |