ArcGIS Runtime SDK for iOS: AGSArcGISTiledLayer.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSArcGISTiledLayer.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/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 
79 
80 #pragma mark -
81 #pragma mark initializers
82 
83 
84 
95 -(instancetype)initWithURL:(NSURL*)URL;
96 
104 -(instancetype)initWithName:(NSString*)name;
105 
113 -(instancetype)initWithTileCache:(AGSTileCache*)tileCache;
114 
120 -(instancetype)initWithItem:(AGSItem*)item;
121 
127 +(instancetype)ArcGISTiledLayerWithItem:(AGSItem*)item;
128 
139 +(instancetype)ArcGISTiledLayerWithURL:(NSURL*)URL;
140 
148 +(instancetype)ArcGISTiledLayerWithName:(NSString*)name;
149 
157 +(instancetype)ArcGISTiledLayerWithTileCache:(AGSTileCache*)tileCache;
158 
159 #pragma mark -
160 #pragma mark properties
161 
165 @property (nullable, nonatomic, strong, readonly) AGSArcGISMapServiceInfo *mapServiceInfo;
166 
170 @property (nullable, nonatomic, strong, readonly) AGSTileCache *tileCache;
171 
175 @property (nonatomic, copy, readonly) NSArray<AGSArcGISTiledSublayer*> *tiledSublayers;
176 
180 @property (nonatomic, assign, readwrite) NSTimeInterval refreshInterval;
181 
182 #pragma mark -
183 #pragma mark methods
184 
185 
186 @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:78
NSArray< AGSArcGISTiledSublayer * > * tiledSublayers
Definition: AGSArcGISTiledLayer.h:175
NSTimeInterval refreshInterval
Definition: AGSArcGISTiledLayer.h:180
AGSArcGISMapServiceInfo * mapServiceInfo
Definition: AGSArcGISTiledLayer.h:165
AGSTileCache * tileCache
Definition: AGSArcGISTiledLayer.h:170
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:43
A local cache of pre-rendered map tiles that can be used to create a layer.
Definition: AGSTileCache.h:80
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