ArcGIS Runtime SDK for iOS: AGSLayer.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSLayer.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/AGSLoadableBase.h>
27 #import <ArcGIS/AGSLayerContent.h>
28 
29 @class AGSEnvelope;
30 @class AGSSpatialReference;
31 @class AGSItem;
32  //Required for Globals API doc
34 
201 @interface AGSLayer : AGSLoadableBase <NSCopying, AGSLayerContent>
202 
203 
204 
205 #pragma mark -
206 #pragma mark initializers
207 
208 #pragma mark -
209 #pragma mark properties
210 
214 @property (nonatomic, copy, readonly) NSString *attribution;
215 
219 @property (nonatomic, copy, readwrite) NSString *layerDescription;
220 
224 @property (nullable, nonatomic, strong, readonly) AGSEnvelope *fullExtent;
225 
229 @property (nonatomic, copy, readwrite) NSString *layerID;
230 
236 @property (nonatomic, assign, readwrite) double maxScale;
237 
243 @property (nonatomic, assign, readwrite) double minScale;
244 
248 @property (nonatomic, copy, readwrite) NSString *name;
249 
254 @property (nonatomic, assign, readwrite) float opacity;
255 
259 @property (nonatomic, assign, readonly, getter=isIdentifyEnabled) BOOL identifyEnabled;
260 
264 @property (nullable, nonatomic, strong, readonly) AGSItem *item;
265 
269 @property (nullable, nonatomic, strong, readonly) AGSSpatialReference *spatialReference;
270 
271 #pragma mark -
272 #pragma mark methods
273 
274 -(BOOL)isEqualToLayer:(AGSLayer*)other;
275 
276 
277 
278 @end
A geometry that represents a rectangular shape.
Definition: AGSEnvelope.h:55
Object representing a unit of content.
Definition: AGSItem.h:43
An abstract base class for all layers.
Definition: AGSLayer.h:201
AGSEnvelope * fullExtent
Definition: AGSLayer.h:224
double minScale
Definition: AGSLayer.h:243
AGSItem * item
Definition: AGSLayer.h:264
NSString * name
Definition: AGSLayer.h:248
float opacity
Definition: AGSLayer.h:254
NSString * layerID
Definition: AGSLayer.h:229
BOOL identifyEnabled
Definition: AGSLayer.h:259
double maxScale
Definition: AGSLayer.h:236
NSString * layerDescription
Definition: AGSLayer.h:219
NSString * attribution
Definition: AGSLayer.h:214
AGSSpatialReference * spatialReference
Definition: AGSLayer.h:269
A base class for loadables.
Definition: AGSLoadableBase.h:45
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:49
A protocol defining common properties and operations for layers.
Definition: AGSLayerContent.h:38