ArcGIS Runtime SDK for iOS: AGSDimensionLayer.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSDimensionLayer.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 #import <ArcGIS/AGSLayer.h>
30 #import <ArcGIS/AGSRemoteResource.h>
31 #import <ArcGIS/AGSCancelable.h>
32 #import <ArcGIS/AGSLabelBarrierWeight.h>
33 
34 
35 
37 @class AGSFeature;
39 @class AGSItem;
40 @class AGSQueryParameters;
41 
84 
85 #pragma mark -
86 #pragma mark initializers
87 
88 
89 
99 - (instancetype)initWithFeatureTable:(AGSArcGISFeatureTable *)featureTable;
100 
110 + (instancetype)dimensionLayerWithFeatureTable:(AGSArcGISFeatureTable *)featureTable;
111 
118 - (instancetype)initWithItem:(AGSItem *)item
119  serviceLayerID:(NSInteger)serviceLayerID;
120 
127 + (instancetype)dimensionLayerWithItem:(AGSItem *)item
128  serviceLayerID:(NSInteger)serviceLayerID;
129 
136 - (instancetype)initWithURL:(NSURL *)URL;
137 
144 + (instancetype)dimensionLayerWithURL:(NSURL *)URL;
145 
146 #pragma mark -
147 #pragma mark properties
148 
153 @property (nonatomic, assign, readwrite) AGSLabelBarrierWeight barrierWeight;
154 
167 @property (nonatomic, copy, readwrite) NSString *definitionExpression;
168 
172 @property (nullable, nonatomic, strong, readonly) AGSArcGISFeatureTable *featureTable;
173 
178 @property (nonatomic, assign, readonly) NSInteger serviceLayerID;
179 
192 @property (nonatomic, assign, readonly) double referenceScale;
193 
194 #pragma mark -
195 #pragma mark methods
196 
200 - (void)clearSelection;
201 
205 - (void)resetFeaturesVisible;
206 
213 - (id<AGSCancelable>)selectedFeaturesWithCompletion:(void(^)(AGSFeatureQueryResult * _Nullable result, NSError * _Nullable error))completion;
214 
219 - (void)selectFeature:(AGSFeature *)feature;
220 
225 - (void)selectFeatures:(NSArray<AGSFeature *> *)features;
226 
236 - (id<AGSCancelable>)selectFeaturesWithParameters:(AGSQueryParameters *)parameters
237  mode:(AGSSelectionMode)mode
238  completion:(void(^)(AGSFeatureQueryResult * _Nullable result, NSError * _Nullable error))completion;
239 
245 - (void)setFeaturesVisibleWithFeatures:(NSArray<AGSFeature *> *)features
246  visible:(BOOL)visible;
247 
253 - (void)setFeatureVisibleWithFeature:(AGSFeature *)feature
254  visible:(BOOL)visible;
255 
260 - (void)unselectFeature:(AGSFeature *)feature;
261 
266 - (void)unselectFeatures:(NSArray<AGSFeature *> *)features;
267 
268 @end
269 
270 
AGSSelectionMode
Definition: AGSFeatureLayer.h:50
AGSLabelBarrierWeight
Definition: AGSLabelBarrierWeight.h:41
An ArcGIS specific source for dataset containing geographic features or non-spatial records.
Definition: AGSArcGISFeatureTable.h:69
A layer that can visualize dimension features data.
Definition: AGSDimensionLayer.h:83
NSString * definitionExpression
Definition: AGSDimensionLayer.h:167
NSInteger serviceLayerID
Definition: AGSDimensionLayer.h:178
double referenceScale
Definition: AGSDimensionLayer.h:192
AGSLabelBarrierWeight barrierWeight
Definition: AGSDimensionLayer.h:153
AGSArcGISFeatureTable * featureTable
Definition: AGSDimensionLayer.h:172
A representation of a real-world object on a map.
Definition: AGSFeature.h:47
Result of queries that return features.
Definition: AGSFeatureQueryResult.h:49
Object representing a unit of content.
Definition: AGSItem.h:43
An abstract base class for all layers.
Definition: AGSLayer.h:201
Parameters to perform a query using AGSFeatureTable.
Definition: AGSQueryParameters.h:45
A protocol exposed by operations that allow cancellation.
Definition: AGSCancelable.h:38
A protocol adopted by classes that access remote network resources that have the potential to be secu...
Definition: AGSRemoteResource.h:40