Sdk Set Camera
arcgis_pro_sdk_set_cameraSets a live ArcGIS Pro MapView camera to specified coordinates and orientation with map/context/WKID validation, without guessing or projecting spatial references.
Instructions
用 map/context/WKID compare-and-swap 设置原生 MapView 相机;不猜测或投影坐标。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sdk_session_ref": "<sdk_session_ref>",
"expected_map_uri": "<expected_map_uri>",
"expected_context_generation": "<expected_context_generation>",
"expected_spatial_reference_wkid": "<expected_spatial_reference_wkid>"
},
"name": "arcgis_pro_sdk_set_camera"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| z | No | ||
| roll | No | ||
| pitch | No | ||
| scale | No | ||
| confirm | No | ||
| heading | No | ||
| sdk_session_ref | Yes | ||
| expected_map_uri | Yes | ||
| duration_milliseconds | No | ||
| expected_context_generation | Yes | ||
| expected_spatial_reference_wkid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||