ArcGIS Runtime SDK for iOS: AGSSubtypeFeatureLayer.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSSubtypeFeatureLayer.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/AGSFeatureLayer.h>
29 
30 
31 
33 @class AGSSubtypeSublayer;
34 @class AGSItem;
35 
67 
68 #pragma mark -
69 #pragma mark initializers
70 
71 
72 
80 -(instancetype)initWithFeatureTable:(AGSArcGISFeatureTable *)featureTable;
81 
89 +(instancetype)subtypeFeatureLayerWithFeatureTable:(AGSArcGISFeatureTable *)featureTable;
90 
97 - (instancetype)initWithItem:(AGSItem *)item
98  layerID:(NSInteger)layerID;
99 
106 + (instancetype)subtypeFeatureLayerWithItem:(AGSItem *)item
107  layerID:(NSInteger)layerID;
108 
109 #pragma mark -
110 #pragma mark properties
111 
119 @property (nonatomic, strong, readonly) NSMutableArray<AGSSubtypeSublayer *> *subtypeSublayers;
120 
121 #pragma mark -
122 #pragma mark methods
123 
132 -(nullable AGSSubtypeSublayer *)sublayerWithCode:(id)code;
133 
139 -(nullable AGSSubtypeSublayer *)sublayerWithName:(NSString *)name;
140 
141 @end
142 
143 
An ArcGIS specific source for dataset containing geographic features or non-spatial records.
Definition: AGSArcGISFeatureTable.h:69
A layer that can visualize vector/feature data.
Definition: AGSFeatureLayer.h:179
Object representing a unit of content.
Definition: AGSItem.h:43
A layer that can visualize feature data with different visibility, rendering, popup properties,...
Definition: AGSSubtypeFeatureLayer.h:67
NSMutableArray< AGSSubtypeSublayer * > * subtypeSublayers
Definition: AGSSubtypeFeatureLayer.h:119
A sublayer that allows custom rendering for features of a particular subtype.
Definition: AGSSubtypeSublayer.h:41