# ui.Map.FeatureViewLayer

<br />

A layer generated from a FeatureView asset for display on a ui.Map.

<br />

| Usage | Returns |
|---|---|
| `ui.Map.FeatureViewLayer(assetId, *visParams*, *name*, *shown*, *opacity*)` | ui.Map.FeatureViewLayer |

| Argument | Type | Details |
|---|---|---|
| `assetId` | String | The asset ID for the FeatureView. |
| `visParams` | Object, optional | The visualization parameters for this layer. |
| `name` | String, optional | The name of the layer, which appears in the list of layers and when inspecting this layer. Defaults to the asset ID. |
| `shown` | Boolean, optional | Whether the layer is initially shown on the map. Defaults to true. |
| `opacity` | Number, optional | The layer's opacity represented as a number between 0 and 1. Defaults to 1. |