ArcGIS Runtime SDK for iOS: AGSLayer.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSLayer.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 2021 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 
194 @interface AGSLayer : AGSLoadableBase <NSCopying, AGSLayerContent>
195 
196 
197 
198 #pragma mark -
199 #pragma mark initializers
200 
201 #pragma mark -
202 #pragma mark properties
203 
207 @property (nonatomic, copy, readonly) NSString *attribution;
208 
212 @property (nonatomic, copy, readwrite) NSString *layerDescription;
213 
217 @property (nullable, nonatomic, strong, readonly) AGSEnvelope *fullExtent;
218 
222 @property (nonatomic, copy, readwrite) NSString *layerID;
223 
228 @property (nonatomic, assign, readwrite) double maxScale;
229 
234 @property (nonatomic, assign, readwrite) double minScale;
235 
239 @property (nonatomic, copy, readwrite) NSString *name;
240 
245 @property (nonatomic, assign, readwrite) float opacity;
246 
250 @property (nonatomic, assign, readonly, getter=isIdentifyEnabled) BOOL identifyEnabled;
251 
255 @property (nullable, nonatomic, strong, readonly) AGSItem *item;
256 
260 @property (nullable, nonatomic, strong, readonly) AGSSpatialReference *spatialReference;
261 
262 #pragma mark -
263 #pragma mark methods
264 
265 -(BOOL)isEqualToLayer:(AGSLayer*)other;
266 
267 
268 
269 @end
A geometry that represents a rectangular shape.
Definition: AGSEnvelope.h:55
Object representing a unit of content.
Definition: AGSItem.h:44
An abstract base class for all layers.
Definition: AGSLayer.h:194
AGSEnvelope * fullExtent
Definition: AGSLayer.h:217
double minScale
Definition: AGSLayer.h:234
AGSItem * item
Definition: AGSLayer.h:255
NSString * name
Definition: AGSLayer.h:239
float opacity
Definition: AGSLayer.h:245
NSString * layerID
Definition: AGSLayer.h:222
BOOL identifyEnabled
Definition: AGSLayer.h:250
double maxScale
Definition: AGSLayer.h:228
NSString * layerDescription
Definition: AGSLayer.h:212
NSString * attribution
Definition: AGSLayer.h:207
AGSSpatialReference * spatialReference
Definition: AGSLayer.h:260
A base class for loadables.
Definition: AGSLoadableBase.h:45
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:46
A protocol defining common properties and operations for layers.
Definition: AGSLayerContent.h:39