ArcGIS Runtime SDK for iOS: AGSAnnotationLayer.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSAnnotationLayer.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  //Required for Globals API doc
26 
27 #import <Foundation/Foundation.h>
28 #import <ArcGIS/AGSLayer.h>
29 #import <ArcGIS/AGSRemoteResource.h>
30 
31 
32 
34 @class AGSItem;
35 
81 
82 #pragma mark -
83 #pragma mark initializers
84 
85 
86 
94 -(instancetype)initWithFeatureTable:(AGSArcGISFeatureTable *)featureTable;
95 
103 +(instancetype)annotationLayerWithFeatureTable:(AGSArcGISFeatureTable *)featureTable;
104 
111 -(instancetype)initWithItem:(AGSItem *)item
112  serviceLayerID:(NSInteger)serviceLayerID;
113 
120 +(instancetype)annotationLayerWithItem:(AGSItem *)item
121  serviceLayerID:(NSInteger)serviceLayerID;
122 
128 -(instancetype)initWithURL:(NSURL *)URL;
129 
135 +(instancetype)annotationLayerWithURL:(NSURL *)URL;
136 
137 #pragma mark -
138 #pragma mark properties
139 
143 @property (nullable, nonatomic, strong, readonly) AGSArcGISFeatureTable *featureTable;
144 
149 @property (nonatomic, assign, readonly) NSInteger serviceLayerID;
150 
162 @property (nonatomic, assign, readonly) double referenceScale;
163 
164 #pragma mark -
165 #pragma mark methods
166 
167 @end
168 
169 
A layer that can visualize annotation text data. Annotation can be used to symbolize text on your map...
Definition: AGSAnnotationLayer.h:80
double referenceScale
Definition: AGSAnnotationLayer.h:162
AGSArcGISFeatureTable * featureTable
Definition: AGSAnnotationLayer.h:143
NSInteger serviceLayerID
Definition: AGSAnnotationLayer.h:149
An ArcGIS specific source for dataset containing geographic features or non-spatial records.
Definition: AGSArcGISFeatureTable.h:66
Object representing a unit of content.
Definition: AGSItem.h:44
An abstract base class for all layers.
Definition: AGSLayer.h:194
A protocol adopted by classes that access remote network resources that have the potential to be secu...
Definition: AGSRemoteResource.h:40