updateSiteFacilityLayer
Mutation
Updates an existing SiteFacilityLayer.
Response
Returns SiteFacilityLayer
Arguments
| Name | Type | Description |
|---|---|---|
layer | UpdateSiteFacilityLayerInput! | Arguments to update an existing layer. |
Example
mutation updateSiteFacilityLayer( $layer: UpdateSiteFacilityLayerInput!) { updateSiteFacilityLayer( layer: $layer ) { id name facility { id name site { id name timezone } layers { id name imageUrl metadata } metadata } imageUrl imageBounds { type coordinates crs { type properties } } geographicBounds { type coordinates crs { type properties } } metadata }}{ "layer": { "id": "31e47400-c5cf-86e1-be34-e7c79d4621a8" }}{ "data": { "updateSiteFacilityLayer": { "id": "9a8a4b6e-0482-86f1-be17-6f4189dd8840", "name": "name-5158", "facility": { "id": "b74f2e17-122f-881f-b24c-01864ff83b5a", "name": "name-d590", "site": { "id": "f5e73b52-9179-8799-92de-27516934ea4d", "name": "name-ac75", "timezone": "timezone-4f92" }, "layers": [ { "id": "9a8a4b6e-0482-86f1-be17-6f4189dd8840", "name": "name-5158", "imageUrl": "imageUrl-44c9", "metadata": {} } ], "metadata": {} }, "imageUrl": "imageUrl-44c9", "imageBounds": { "type": "type-6547", "coordinates": [ [ [ 948.78 ] ] ], "crs": { "type": "type-8d98", "properties": {} } }, "geographicBounds": { "type": "type-6547", "coordinates": [ [ [ 948.78 ] ] ], "crs": { "type": "type-8d98", "properties": {} } }, "metadata": {} } }}