Subtype group tables can be created by referencing a table from a feature service that contains subtypes. Each subtype in the feature service table can be a separate table in the subtype group table, and be given its own display and editing properties.
With respect to layer blending, subtype group layers follow the same rules as a typical group layers.
Referenced by: tables
Properties
Property | Details |
---|---|
customParameters | A sequence of custom parameters appended to the URL of all requests related to a layer. |
id | Unique string identifier for the table. |
itemId | Optional string containing the item ID of a portal item registered on ArcGIS Online or your organization's portal. |
layerDefinition | A layerDefinition object defining the definition of the group table that apply to all sub tables. See layerDefinition properties table. |
layerType | String indicating the table type. Valid value of this property SubtypeGroupTable |
refreshInterval | Refresh interval of the table in minutes. Non-zero value indicates automatic table refresh at the specified interval. Value of 0 indicates auto refresh is not enabled. |
tables[] | An array of objects representing non-spatial datasets used in the web map. |
title | String value for the title of the table. |
url | String value indicating the URL reference of the hosted table. |
layerDefinition properties
Property | Details |
---|---|
definitionExpression | SQL-based definition expression string that narrows the data to be displayed in the layer. |
Example
{
"layerType": "SubtypeGroupTable",
"url": "http://sampleserver6.arcgisonline.com/arcgis/rest/services/SF311/FeatureServer/1",
"id": "SF311_1421",
"tables": [],
"title": "Service table with subtypes."
}