createSiteFacilityLayer
Mutation
Creates a new SiteFacilityLayer.
Response
Returns SiteFacilityLayer
Arguments
| Name | Type | Description |
|---|---|---|
layer | CreateSiteFacilityLayerInput! | Arguments to create a new layer. |
Example
mutation createSiteFacilityLayer( $layer: CreateSiteFacilityLayerInput!) { createSiteFacilityLayer( 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": { "siteFacilityId": "5dcfcebc-6f4a-85ad-b53a-3971f9f4c5f8", "name": "name-c2f2" }}{ "data": { "createSiteFacilityLayer": { "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": {} } }}