ArcGIS Runtime SDK for iOS: AGSGroupLayer.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSGroupLayer.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 2022 ESRI
3 
4  All rights reserved under the copyright laws of the United States
5  and applicable international laws, treaties, and conventions.
6 
7  This material is licensed for use under the Esri Master License
8  Agreement (MLA), and is bound by the terms of that agreement.
9  You may redistribute and use this code without modification,
10  provided you adhere to the terms of the MLA and include this
11  copyright notice.
12 
13  See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
14 
15  For additional information, contact:
16  Environmental Systems Research Institute, Inc.
17  Attn: Contracts and Legal Services Department
18  380 New York Street
19  Redlands, California, 92373
20  USA
21 
22  email: contracts@esri.com
23  */
24  //Required for Globals API doc
26 
27 #import <Foundation/Foundation.h>
28 #import <ArcGIS/AGSLayer.h>
29 
30 
31 
36 typedef NS_ENUM(NSInteger, AGSGroupVisibilityMode) {
40 };
41 
81 @interface AGSGroupLayer : AGSLayer
82 
83 #pragma mark -
84 #pragma mark initializers
85 
91 - (instancetype)initWithChildLayers:(NSArray<AGSLayer *> *)childLayers;
92 
97 + (instancetype)groupLayer;
98 
105 + (instancetype)groupLayerWithChildLayers:(NSArray<AGSLayer *> *)childLayers;
106 
107 #pragma mark -
108 #pragma mark properties
109 
114 @property (nonatomic, strong, readonly) NSMutableArray<AGSLayer *> *layers;
115 
119 @property (nonatomic, assign, readwrite) BOOL showChildrenInLegend;
120 
124 @property (nonatomic, assign, readwrite) AGSGroupVisibilityMode visibilityMode;
125 
126 #pragma mark -
127 #pragma mark methods
128 
129 @end
130 
131 
AGSGroupVisibilityMode
Definition: AGSGroupLayer.h:36
@ AGSGroupVisibilityModeIndependent
Definition: AGSGroupLayer.h:37
@ AGSGroupVisibilityModeInherited
Definition: AGSGroupLayer.h:38
@ AGSGroupVisibilityModeExclusive
Definition: AGSGroupLayer.h:39
A container for other layers and group layers. It is used to represent datasets that are composed of ...
Definition: AGSGroupLayer.h:82
BOOL showChildrenInLegend
Definition: AGSGroupLayer.h:119
AGSGroupVisibilityMode visibilityMode
Definition: AGSGroupLayer.h:124
instancetype groupLayer()
NSMutableArray< AGSLayer * > * layers
Definition: AGSGroupLayer.h:114
An abstract base class for all layers.
Definition: AGSLayer.h:201