ArcGIS Runtime SDK for iOS: AGSArcGISVectorTiledLayer.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSArcGISVectorTiledLayer.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/AGSLayer.h>
27 #import <ArcGIS/AGSRemoteResource.h>
28 #import <ArcGIS/AGSAPIKeyResource.h>
29 
30 
31 
32 @class AGSItem;
34 @class AGSVectorTileStyle;
35 @class AGSVectorTileCache;
37  //Required for Globals API doc
39 
78 
79 #pragma mark -
80 #pragma mark initializers
81 
82 
83 
89 -(instancetype)initWithItem:(AGSItem *)item;
90 
102 -(instancetype)initWithURL:(NSURL *)url;
103 
110 -(instancetype)initWithName:(NSString*)name;
111 
117 -(instancetype)initWithVectorTileCache:(AGSVectorTileCache *)vectorTileCache;
118 
125 -(instancetype)initWithVectorTileCache:(AGSVectorTileCache *)vectorTileCache itemResourceCache:(nullable AGSItemResourceCache*)itemResourceCache;
126 
132 +(instancetype)ArcGISVectorTiledLayerWithItem:(AGSItem *)item;
133 
145 +(instancetype)ArcGISVectorTiledLayerWithURL:(NSURL *)url;
146 
153 +(instancetype)ArcGISVectorTiledLayerWithName:(NSString*)name;
154 
160 +(instancetype)ArcGISVectorTiledLayerWithVectorTileCache:(AGSVectorTileCache *)vectorTileCache;
161 
169 +(instancetype)ArcGISVectorTiledLayerWithVectorTileCache:(AGSVectorTileCache *)vectorTileCache itemResourceCache:(nullable AGSItemResourceCache*)itemResourceCache;
170 
171 #pragma mark -
172 #pragma mark properties
173 
177 @property (nullable, nonatomic, strong, readonly) AGSVectorTileSourceInfo *sourceInfo;
178 
182 @property (nullable, nonatomic, strong, readonly) AGSVectorTileStyle *style;
183 
190 @property (nullable, nonatomic, strong, readonly) AGSVectorTileCache *vectorTileCache;
191 
198 @property (nullable, nonatomic, strong, readonly) AGSItemResourceCache *itemResourceCache;
199 
200 #pragma mark -
201 #pragma mark methods
202 
203 @end
204 
205 
Displays data from an ArcGIS vector tiled data source.
Definition: AGSArcGISVectorTiledLayer.h:77
AGSVectorTileStyle * style
Definition: AGSArcGISVectorTiledLayer.h:182
AGSVectorTileCache * vectorTileCache
Definition: AGSArcGISVectorTiledLayer.h:190
AGSVectorTileSourceInfo * sourceInfo
Definition: AGSArcGISVectorTiledLayer.h:177
AGSItemResourceCache * itemResourceCache
Definition: AGSArcGISVectorTiledLayer.h:198
Object representing a unit of content.
Definition: AGSItem.h:43
Information on resources associated with an item.
Definition: AGSItemResourceCache.h:39
An abstract base class for all layers.
Definition: AGSLayer.h:201
A cache of tiles in a vector tile package.
Definition: AGSVectorTileCache.h:40
Metadata about a source of vector tiles.
Definition: AGSVectorTileSourceInfo.h:44
Style information for a source of vector tiles.
Definition: AGSVectorTileStyle.h:38
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