set_layer_scale_range
Limit a layer's visible scale range by setting min/max zoom thresholds, preventing it from drawing at unwanted scales.
Instructions
Limit the scale range a layer draws at.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| map_name | No | Map to act on; defaults to the active map. | |
| max_scale | No | Zoomed-in limit, e.g. 1000 (0 = no limit). | |
| min_scale | No | Zoomed-out limit, e.g. 100000 (0 = no limit). | |
| layer_name | Yes | Layer or table name as shown by get_layers, or a full dataset path. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |