▾
import GroupLayerItem from "@arcgis/core/widgets/support/SelectionList/GroupLayerItem.js";const GroupLayerItem = await $arcgis.import("@arcgis/core/widgets/support/SelectionList/GroupLayerItem.js");- Since
- ArcGIS Maps SDK for JavaScript 5.2
An item representing a group layer in the selection list.
Constructors
Constructor
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| properties | Initial group layer item properties. | |
Properties
| Property | Type | Class |
|---|---|---|
| readonly inherited | ||
| | ||
| readonly inherited | Icon["icon"] | |
| readonly | | |
| readonly | | |
| readonly inherited | ||
| readonly | | |
| readonly | | |
| readonly | | |
| readonly inherited | ||
| readonly | | |
| readonly inherited | ||
| readonly | | |
| readonly inherited | ||
| readonly | | |
| readonly | |
expanded
- Type
- boolean
Indicates whether the item is expanded in the selection list.
- Default value
- true
iconName
- Type
- Icon["icon"]
Icon used to represent the item.
isTable
- Type
- boolean
Indicates this item contains at least one child item representing a table layer.
items
- Type
- ParentItem[]
Set of child layer items. Can also be another GroupLayerItem in the case of SubtypeGroupLayer or KnowledgeGraphLayer.
layerIsVisible
- Type
- boolean
Indicates the layer and at least one of its child layers are visible on the map.
layers
- Type
- Layer[] | SelectableSublayerUnion[] | SelectionListParentLayerUnion[]
Convenience property for all child layers and tables on the parent group layer.
layerView
- Type
- SelectableLayerView | null | undefined
Companion layer view of the associated layer.
maxVisibleFeatureCountExceeded
- Type
- boolean
Indicates this group item contains at least one layer item that is displaying a subset of selected features due to an upper maximum limit.
total
- Type
- number
Count representing the number of selected features. This value includes features hidden by local filters, but are still selected according to the associated selection manager.
view
- Type
- SelectableViewUnion | null | undefined
Convenience property for the view associated with the view model.
visible
- Type
- boolean
Indicates this group layer item is visible in the selection list, due to one or more child items being visible.
visibleTotal
- Type
- number
Total number of visible features accounting for any filters and LayerItem.maxVisibleFeatureCountPerLayer.
Type definitions
RequiredConstructProperties
Required properties used to construct a GroupLayerItem instance.
- Supertypes
- Pick<GroupLayerItem‚ "layer">