Show / Hide Table of Contents

Constructor GroupLayer

GroupLayer()

Initializes a new instance of the GroupLayer class.

Declaration
public GroupLayer()
Remarks

Once the layer is created you will have to set the child layers by setting the Layers property.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.5 - 200.0
.NET 6.0100.13 - 200.0
.NET 6.0 Windows100.13 - 200.0
.NET 6.0 Android200
.NET 6.0 iOS200
.NET Framework100.5 - 200.0
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.5 - 100.15
iOS100.5 - 100.15
UWP100.5 - 200.0
Relevant samples
Group layers: Group a collection of layers together and toggle their visibility as a group.

GroupLayer(IEnumerable<Layer>)

Initializes a new instance of the GroupLayer class with the child layers passed.

Declaration
public GroupLayer(IEnumerable<Layer> childLayers)
Parameters
Type Name Description
IEnumerable<Layer> childLayers

A collection of layers.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.5 - 200.0
.NET 6.0100.13 - 200.0
.NET 6.0 Windows100.13 - 200.0
.NET 6.0 iOS200
.NET Framework100.5 - 200.0
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.5 - 100.14
iOS100.5 - 100.15
UWP100.5 - 200.0
In This Article
Back to top Copyright © 2022 Esri.