ArcGIS Runtime SDK for iOS: AGSFeatureCollectionTable.h Source File
ArcGIS Runtime SDK for iOS  100.9
AGSFeatureCollectionTable.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 1995-2020 ESRI
3 
4  TRADE SECRETS: ESRI PROPRIETARY AND CONFIDENTIAL
5  Unpublished material - all rights reserved under the
6  Copyright Laws of the United States and applicable international
7  laws, treaties, and conventions.
8 
9  For additional information, contact:
10  Environmental Systems Research Institute, Inc.
11  Attn: Contracts and Legal Services Department
12  380 New York Street
13  Redlands, California, 92373
14  USA
15 
16  email: contracts@esri.com
17  */
18 
19 #import <ArcGIS/AGSFeatureTable.h>
20 #import <ArcGIS/AGSFeatureSet.h>
21 #import <ArcGIS/AGSGeometry.h>
22 
23 @class AGSField;
24 @class AGSSpatialReference;
26 @class AGSRenderer;
27 @class AGSSymbol;
28 @protocol AGSGeoElement;
29  //Required for Globals API doc
31 
40 
41 
42 
43 #pragma mark -
44 #pragma mark initializers
45 
46 
47 
54 -(instancetype)initWithFields:(NSArray<AGSField*>*)fields
55  geometryType:(AGSGeometryType)geometryType
56  spatialReference:(nullable AGSSpatialReference*)spatialReference;
57 
63 -(instancetype)initWithGeoElements:(NSArray<id<AGSGeoElement>>*)geoElements
64  fields:(nullable NSArray<AGSField*>*)fields;
65 
70 -(instancetype)initWithFeatureSet:(id<AGSFeatureSet>)featureSet;
71 
80 -(instancetype)initWithFields:(NSArray<AGSField*>*)fields
81  geometryType:(AGSGeometryType)geometryType
82  spatialReference:(nullable AGSSpatialReference*)spatialReference
83  hasZ:(BOOL)hasZ
84  hasM:(BOOL)hasM;
85 
92 +(instancetype)featureCollectionTableWithFields:(NSArray<AGSField*>*)fields
93  geometryType:(AGSGeometryType)geometryType
94  spatialReference:(nullable AGSSpatialReference*)spatialReference;
95 
101 +(instancetype)featureCollectionTableWithGeoElements:(NSArray<id<AGSGeoElement>>*)geoElements
102  fields:(nullable NSArray<AGSField*>*)fields;
103 
108 +(instancetype)featureCollectionTableWithFeatureSet:(id<AGSFeatureSet>)featureSet;
109 
118 +(instancetype)featureCollectionTableWithFields:(NSArray<AGSField*>*)fields
119  geometryType:(AGSGeometryType)geometryType
120  spatialReference:(nullable AGSSpatialReference*)spatialReference
121  hasZ:(BOOL)hasZ
122  hasM:(BOOL)hasM;
123 
124 #pragma mark -
125 #pragma mark properties
126 
127 @property (nullable, nonatomic, strong, readonly) AGSArcGISFeatureLayerInfo *layerInfo;
128 @property (nullable, nonatomic, strong, readwrite) AGSRenderer *renderer;
129 @property (nonatomic, copy, readwrite) NSString *title;
130 
131 #pragma mark -
132 #pragma mark methods
133 
134 -(nullable AGSSymbol*)symbolOverrideForFeature:(AGSFeature*)feature;
135 -(void)setSymbolOverride:(nullable AGSSymbol*)symbol forFeature:(AGSFeature*)feature;
136 
137 
138 
139 @end
Information about an individual layer or table in ArcGIS Feature Service.
Definition: AGSArcGISFeatureLayerInfo.h:44
NSString * title
Definition: AGSFeatureCollectionTable.h:129
A source for dataset containing geographic features or non-spatial records.
Definition: AGSFeatureTable.h:59
An abstract base class for renderers.
Definition: AGSRenderer.h:48
A symbol used to display a graphic or a feature.
Definition: AGSSymbol.h:51
AGSArcGISFeatureLayerInfo * layerInfo
Definition: AGSFeatureCollectionTable.h:127
An individual table that contains features belonging to a feature collection.
Definition: AGSFeatureCollectionTable.h:39
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:39
An abstract representation of a set of features.
Definition: AGSFeatureSet.h:35
AGSGeometryType
Definition: AGSGeometry.h:42
AGSRenderer * renderer
Definition: AGSFeatureCollectionTable.h:128
An object that represents information about a field.
Definition: AGSField.h:55
An abstract representation of geographic entities on a map.
Definition: AGSGeoElement.h:37
A representation of a real-world object on a map.
Definition: AGSFeature.h:40