You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| itemId | The id of a Feature Layer item in the same portal where the project is stored. | string | Yes ||
118
+
| layerId | The id of the layer in a multiple layer feature service | number | No | 0 |
118
119
| url | The url to an ArcGIS Feature Service layer. | string | No ||
119
120
| enrichmentDefinition | An object describing how enrichment fields are populated. The geometry type of the Observation Layer must be *Point*|*Enrichment Definition* See below for schema | No ||
120
121
121
122
### Enrichment Definition
122
123
123
124
| Name | Description | Type | Required | Default |
| fields | Information on source and destination fields |*Enrichment Field Definition[]* See below for schema | Yes ||
134
-
| sourceItemId | The itemId of a layer in the portal hosting the application. | string | Yes ||
135
-
| sourceUrl | The url to the service. The geometry type of the service layer must be *Polygon* and the layer must be in the WebMap of the project | string | No ||
134
+
| sourceItemId | The itemId of a layer in the portal hosting the application. The geometry type of the service layer must be *Polygon* and the layer must be in the WebMap of the project. This or `sourceUrl` must be set. | string | No ||
135
+
| sourceUrl | The url to the service. The geometry type of the service layer must be *Polygon* and the layer must be in the WebMap of the project. This or `sourceItemId` must be set. | string | No ||
136
+
| layerId | The id of the layer in a multiple layer feature service | number | No | 0 |
136
137
137
138
### Enrichment Field Definition
138
139
@@ -255,7 +256,7 @@ NOTE: WMTS service layers are cached and **ONLY ONE** can be displayed as the fo
255
256
}
256
257
```
257
258
258
-
#### Multiple observation layers (one by item id only, one by item id and url)
259
+
#### Multiple observation layers (one with layerId set)
259
260
260
261
This also shows the `webmapId` property
261
262
@@ -277,7 +278,7 @@ This also shows the `webmapId` property
0 commit comments