Subtype Group Layer (SubtypeGroupLayer)
Subtype group layers can be created by referencing a layer from a feature service that contains subtypes. Each subtype in the feature service layer can be a separate layer in the subtype group layer, and be given its own display and editing properties.
With respect to layer blending, subtype group layers follow the same rules as group layers.
Referenced by: operationalLayers
|blendMode||Blend modes are used to create various effects by blending colors of top and background layers.
If property is present, must be one of the following values:
|id||A unique identifying string for the layer.|
|itemId||Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal.|
|layerDefinition||A layerDefinition object defining the attribute schema and drawing information for the layer.
See layerDefinition properties table.
|layerType||String indicating the layer type.
Value of this property must be
|layers||An array of feature layers, each describing the properties for a subtype in the feature service layer.|
|opacity||The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency.|
|refreshInterval||Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled.|
|title||A user-friendly string title for the layer that can be used in a table of contents.|
|url||The URL to the layer. If the layer is not from a web service but rather a feature collection, then the url property is omitted.|
|visibility||Boolean property determining whether the layer is initially visible in the web map.|
|definitionExpression||SQL-based definition expression string that narrows the data to be displayed in the layer.|
|maxScale||Integer property used to determine the maximum scale at which the layer is displayed.|
|minScale||Integer property used to determine the minimum scale at which the layer is displayed.|
Feedback on this topic?