ArcGIS Runtime SDK for iOS: AGSFeatureCollectionTable.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSFeatureCollectionTable.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 
25 #import <Foundation/Foundation.h>
26 #import <ArcGIS/AGSFeatureTable.h>
27 #import <ArcGIS/AGSFeatureSet.h>
28 #import <ArcGIS/AGSGeometry.h>
29 #import <ArcGIS/AGSGeoElement.h>
30 
31 @class AGSField;
32 @class AGSSpatialReference;
34 @class AGSRenderer;
35 @class AGSSymbol;
36  //Required for Globals API doc
38 
47 
48 
49 
50 #pragma mark -
51 #pragma mark initializers
52 
53 
54 
61 -(instancetype)initWithFields:(NSArray<AGSField*>*)fields
62  geometryType:(AGSGeometryType)geometryType
63  spatialReference:(nullable AGSSpatialReference*)spatialReference;
64 
70 -(instancetype)initWithGeoElements:(NSArray<id<AGSGeoElement>>*)geoElements
71  fields:(nullable NSArray<AGSField*>*)fields;
72 
77 -(instancetype)initWithFeatureSet:(id<AGSFeatureSet>)featureSet;
78 
87 -(instancetype)initWithFields:(NSArray<AGSField*>*)fields
88  geometryType:(AGSGeometryType)geometryType
89  spatialReference:(nullable AGSSpatialReference*)spatialReference
90  hasZ:(BOOL)hasZ
91  hasM:(BOOL)hasM;
92 
99 +(instancetype)featureCollectionTableWithFields:(NSArray<AGSField*>*)fields
100  geometryType:(AGSGeometryType)geometryType
101  spatialReference:(nullable AGSSpatialReference*)spatialReference;
102 
108 +(instancetype)featureCollectionTableWithGeoElements:(NSArray<id<AGSGeoElement>>*)geoElements
109  fields:(nullable NSArray<AGSField*>*)fields;
110 
115 +(instancetype)featureCollectionTableWithFeatureSet:(id<AGSFeatureSet>)featureSet;
116 
125 +(instancetype)featureCollectionTableWithFields:(NSArray<AGSField*>*)fields
126  geometryType:(AGSGeometryType)geometryType
127  spatialReference:(nullable AGSSpatialReference*)spatialReference
128  hasZ:(BOOL)hasZ
129  hasM:(BOOL)hasM;
130 
131 #pragma mark -
132 #pragma mark properties
133 
134 @property (nullable, nonatomic, strong, readonly) AGSArcGISFeatureLayerInfo *layerInfo;
135 @property (nullable, nonatomic, strong, readwrite) AGSRenderer *renderer;
136 @property (nonatomic, copy, readwrite) NSString *title;
137 
138 #pragma mark -
139 #pragma mark methods
140 
141 -(nullable AGSSymbol*)symbolOverrideForFeature:(AGSFeature*)feature;
142 -(void)setSymbolOverride:(nullable AGSSymbol*)symbol forFeature:(AGSFeature*)feature;
143 
144 
145 
146 @end
AGSGeometryType
Definition: AGSGeometry.h:49
Information about an individual layer or table in ArcGIS Feature Service.
Definition: AGSArcGISFeatureLayerInfo.h:52
An individual table that contains features belonging to a feature collection.
Definition: AGSFeatureCollectionTable.h:46
NSString * title
Definition: AGSFeatureCollectionTable.h:136
AGSRenderer * renderer
Definition: AGSFeatureCollectionTable.h:135
AGSArcGISFeatureLayerInfo * layerInfo
Definition: AGSFeatureCollectionTable.h:134
A representation of a real-world object on a map.
Definition: AGSFeature.h:47
A source for dataset containing geographic features or non-spatial records.
Definition: AGSFeatureTable.h:65
An object that represents information about a field.
Definition: AGSField.h:62
An abstract base class for renderers.
Definition: AGSRenderer.h:55
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:49
A symbol used to display a graphic or a feature.
Definition: AGSSymbol.h:93
An abstract representation of a set of features.
Definition: AGSFeatureSet.h:41
An abstract representation of geographic entities on a map.
Definition: AGSGeoElement.h:43