zoom_to_layer
Zoom the ArcGIS Pro map view to a layer or table's full extent, with optional padding, to quickly focus on your target data.
Instructions
Zoom the map view to a layer's extent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| map_name | No | Map to act on; defaults to the active map. | |
| layer_name | Yes | Layer or table name as shown by get_layers, or a full dataset path. | |
| expand_factor | No | Optional padding, e.g. 0.1 for 10% extra around the extent. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |