ArcGIS Runtime SDK for iOS: AGSArcGISTiledLayer.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSArcGISTiledLayer.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/AGSImageTiledLayer.h>
27 #import <ArcGIS/AGSRemoteResource.h>
28 #import <ArcGIS/AGSAPIKeyResource.h>
29 
30 
31 
33 @class AGSTileCache;
35  //Required for Globals API doc
37 
78 
79 #pragma mark -
80 #pragma mark initializers
81 
82 
83 
94 -(instancetype)initWithURL:(NSURL*)URL;
95 
103 -(instancetype)initWithName:(NSString*)name;
104 
112 -(instancetype)initWithTileCache:(AGSTileCache*)tileCache;
113 
119 -(instancetype)initWithItem:(AGSItem*)item;
120 
126 +(instancetype)ArcGISTiledLayerWithItem:(AGSItem*)item;
127 
138 +(instancetype)ArcGISTiledLayerWithURL:(NSURL*)URL;
139 
147 +(instancetype)ArcGISTiledLayerWithName:(NSString*)name;
148 
156 +(instancetype)ArcGISTiledLayerWithTileCache:(AGSTileCache*)tileCache;
157 
158 #pragma mark -
159 #pragma mark properties
160 
164 @property (nullable, nonatomic, strong, readonly) AGSArcGISMapServiceInfo *mapServiceInfo;
165 
169 @property (nullable, nonatomic, strong, readonly) AGSTileCache *tileCache;
170 
174 @property (nonatomic, copy, readonly) NSArray<AGSArcGISTiledSublayer*> *tiledSublayers;
175 
179 @property (nonatomic, assign, readwrite) NSTimeInterval refreshInterval;
180 
181 #pragma mark -
182 #pragma mark methods
183 
184 
185 @end
Information about an ArcGIS Server map service.
Definition: AGSArcGISMapServiceInfo.h:48
Displays data from a ArcGIS Map service using pre-generated tiles.
Definition: AGSArcGISTiledLayer.h:77
NSArray< AGSArcGISTiledSublayer * > * tiledSublayers
Definition: AGSArcGISTiledLayer.h:174
NSTimeInterval refreshInterval
Definition: AGSArcGISTiledLayer.h:179
AGSArcGISMapServiceInfo * mapServiceInfo
Definition: AGSArcGISTiledLayer.h:164
AGSTileCache * tileCache
Definition: AGSArcGISTiledLayer.h:169
Information about an individual layer or table in a cached ArcGIS Map Service.
Definition: AGSArcGISTiledSublayer.h:38
A base class for layers that display cached maps. You would typically work with one or more sub-class...
Definition: AGSImageTiledLayer.h:65
Object representing a unit of content.
Definition: AGSItem.h:44
A local cache of pre-rendered map tiles that can be used to create a layer.
Definition: AGSTileCache.h:79
An interface for getting and setting the API key of an object.
Definition: AGSAPIKeyResource.h:36
A protocol adopted by classes that access remote network resources that have the potential to be secu...
Definition: AGSRemoteResource.h:40