ArcGIS Runtime SDK for iOS: AGSArcGISSceneLayer.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSArcGISSceneLayer.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 #import <ArcGIS/AGSRemoteResource.h>
30 #import <ArcGIS/AGSSurfacePlacement.h>
31 #import <ArcGIS/AGSAPIKeyResource.h>
32 #import <ArcGIS/AGSFloorAware.h>
33 #import <ArcGIS/AGSCancelable.h>
34 
35 
36 
41 typedef NS_ENUM(NSInteger, AGSSceneLayerDataType) {
46 };
47 
48 @class AGSFeature;
50 @class AGSFeatureTable;
51 
121 
122 #pragma mark -
123 #pragma mark initializers
124 
125 
126 
132 -(instancetype)initWithURL:(NSURL *)url;
133 
140 -(instancetype)initWithItem:(AGSItem*)item;
141 
146 -(instancetype)initWithName:(NSString*)name;
147 
154 +(instancetype)ArcGISSceneLayerWithItem:(AGSItem*)item;
155 
162 +(instancetype)ArcGISSceneLayerWithURL:(NSURL *)url;
163 
169 +(instancetype)ArcGISSceneLayerWithName:(NSString*)name;
170 
171 #pragma mark -
172 #pragma mark properties
173 
174 @property (nullable, nonatomic, strong, readonly) AGSFeatureTable *featureTable;
175 
179 @property (nonatomic, assign, readonly) AGSSceneLayerDataType dataType;
180 
184 @property (nonatomic, assign, readwrite) double altitudeOffset;
185 
189 @property(nonatomic, assign, readwrite) AGSSurfacePlacement surfacePlacement;
190 
195 @property (nonatomic, assign, readwrite) BOOL labelsEnabled;
196 
197 #pragma mark -
198 #pragma mark methods
199 
203 -(void)clearSelection;
204 
210 -(id<AGSCancelable>)getSelectedFeaturesWithCompletion:(void(^)(AGSFeatureQueryResult *__nullable featureQueryResult, NSError *__nullable error))completion;
211 
217 -(void)selectFeature:(AGSFeature *)feature;
218 
223 -(void)selectFeatures:(NSArray<AGSFeature*> *)features;
224 
230 -(void)unselectFeature:(AGSFeature *)feature;
231 
236 -(void)unselectFeatures:(NSArray<AGSFeature*> *)features;
237 
238 @end
239 
240 
AGSSceneLayerDataType
Definition: AGSArcGISSceneLayer.h:41
@ AGSSceneLayerDataTypeIntegratedMesh
Definition: AGSArcGISSceneLayer.h:45
@ AGSSceneLayerDataTypeSceneObject
Definition: AGSArcGISSceneLayer.h:43
@ AGSSceneLayerDataTypeUnknown
Definition: AGSArcGISSceneLayer.h:42
@ AGSSceneLayerDataTypePoint
Definition: AGSArcGISSceneLayer.h:44
AGSSurfacePlacement
Definition: AGSSurfacePlacement.h:35
A layer to visualize an ArcGIS scene service.
Definition: AGSArcGISSceneLayer.h:120
AGSSceneLayerDataType dataType
Definition: AGSArcGISSceneLayer.h:179
AGSFeatureTable * featureTable
Definition: AGSArcGISSceneLayer.h:174
double altitudeOffset
Definition: AGSArcGISSceneLayer.h:184
BOOL labelsEnabled
Definition: AGSArcGISSceneLayer.h:195
AGSSurfacePlacement surfacePlacement
Definition: AGSArcGISSceneLayer.h:189
A representation of a real-world object on a map.
Definition: AGSFeature.h:47
Result of queries that return features.
Definition: AGSFeatureQueryResult.h:49
A source for dataset containing geographic features or non-spatial records.
Definition: AGSFeatureTable.h:65
Object representing a unit of content.
Definition: AGSItem.h:43
An abstract base class for all layers.
Definition: AGSLayer.h:201
An interface for getting and setting the API key of an object.
Definition: AGSAPIKeyResource.h:36
A protocol exposed by operations that allow cancellation.
Definition: AGSCancelable.h:38
A protocol that can be implemented by layers that support floor filtering.
Definition: AGSFloorAware.h:36
A protocol adopted by classes that access remote network resources that have the potential to be secu...
Definition: AGSRemoteResource.h:40