ArcGIS Runtime SDK for iOS: AGSLayer.h Source File
ArcGIS Runtime SDK for iOS  100.9
AGSLayer.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/AGSLoadableBase.h>
20 #import <ArcGIS/AGSLayerContent.h>
21 
22 @class AGSEnvelope;
23 @class AGSSpatialReference;
24 @class AGSItem;
25  //Required for Globals API doc
27 
169 @interface AGSLayer : AGSLoadableBase <NSCopying, AGSLayerContent>
170 
171 
172 
173 #pragma mark -
174 #pragma mark initializers
175 
176 #pragma mark -
177 #pragma mark properties
178 
182 @property (nonatomic, copy, readonly) NSString *attribution;
183 
187 @property (nonatomic, copy, readwrite) NSString *layerDescription;
188 
192 @property (nullable, nonatomic, strong, readonly) AGSEnvelope *fullExtent;
193 
197 @property (nonatomic, copy, readwrite) NSString *layerID;
198 
203 @property (nonatomic, assign, readwrite) double maxScale;
204 
209 @property (nonatomic, assign, readwrite) double minScale;
210 
214 @property (nonatomic, copy, readwrite) NSString *name;
215 
220 @property (nonatomic, assign, readwrite) float opacity;
221 
225 @property (nonatomic, assign, readonly, getter=isIdentifyEnabled) BOOL identifyEnabled;
226 
230 @property (nullable, nonatomic, strong, readonly) AGSItem *item;
231 
235 @property (nullable, nonatomic, strong, readonly) AGSSpatialReference *spatialReference;
236 
237 #pragma mark -
238 #pragma mark methods
239 
240 -(BOOL)isEqualToLayer:(AGSLayer*)other;
241 
242 
243 
244 @end
A base class for loadables.
Definition: AGSLoadableBase.h:37
NSString * layerID
Definition: AGSLayer.h:197
double minScale
Definition: AGSLayer.h:209
BOOL identifyEnabled
Definition: AGSLayer.h:225
NSString * attribution
Definition: AGSLayer.h:182
float opacity
Definition: AGSLayer.h:220
A geometry that represents a rectangular shape.
Definition: AGSEnvelope.h:47
AGSSpatialReference * spatialReference
Definition: AGSLayer.h:235
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:39
NSString * layerDescription
Definition: AGSLayer.h:187
double maxScale
Definition: AGSLayer.h:203
AGSEnvelope * fullExtent
Definition: AGSLayer.h:192
NSString * name
Definition: AGSLayer.h:214
Object representing a unit of content.
Definition: AGSItem.h:36
AGSItem * item
Definition: AGSLayer.h:230
An abstract base class for all layers.
Definition: AGSLayer.h:169
A protocol defining common properties and operations for layers.
Definition: AGSLayerContent.h:33