Set Layer Visibility
set_layer_visibilityToggle a layer's visibility on the QGIS map. Provide the layer ID and a boolean to show or hide the layer.
Instructions
Set a layer's visibility in the layer tree (show/hide on map).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| visible | Yes | ||
| layer_id | Yes |