ArcGIS Runtime SDK for iOS: AGSImageTiledLayer.h Source File
ArcGIS Runtime SDK for iOS  100.9
AGSImageTiledLayer.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  //Required for Globals API doc
20 
21 #import <ArcGIS/AGSImageAdjustmentLayer.h>
22 
23 
24 
29 typedef NS_ENUM(NSInteger, AGSNoDataTileBehavior) {
34 };
35 
36 @class AGSTileInfo;
37 @class AGSTileKey;
38 
49 
53  @property (nonatomic, copy, readwrite) NSString *attribution;
54 
58 @property (nullable, nonatomic, strong, readonly) AGSTileInfo * tileInfo;
59 
89 @property (nonatomic, assign, readwrite) AGSNoDataTileBehavior noDataTileBehavior;
90 
91 @end
92 
93 
102 
103 #pragma mark -
104 #pragma mark initializers
105 
112 -(instancetype)initWithTileInfo:(AGSTileInfo*)tileInfo fullExtent:(AGSEnvelope *)fullExtent;
113 
120 +(instancetype)imageTiledLayerWithTileInfo:(AGSTileInfo*)tileInfo fullExtent:(AGSEnvelope *)fullExtent;
121 
122 #pragma mark -
123 #pragma mark properties
124 
128 @property (nullable, nonatomic, strong) void (^tileRequestHandler)(AGSTileKey *tileKey);
129 
133 @property (nullable, nonatomic, strong) void (^cancelTileRequestHandler)(AGSTileKey *tileKey);
134 
135 #pragma mark -
136 #pragma mark methods
137 
144 -(void)respondWithTileKey:(AGSTileKey*)tileKey
145  data:(nullable NSData*)data
146  error:(nullable NSError*)error;
147 
152 -(void)respondWithNoDataTileForTileKey:(AGSTileKey*)tileKey;
153 
154 @end
155 
156 
NSString * attribution
Definition: AGSImageTiledLayer.h:53
Definition: AGSImageTiledLayer.h:30
A base class for layers that display cached maps. You would typically work with one or more sub-class...
Definition: AGSImageTiledLayer.h:48
The tiling scheme of a tiled layer.
Definition: AGSTileInfo.h:37
void(^ cancelTileRequestHandler)(AGSTileKey *tileKey)
Category for implementing custom tiled layers.
Definition: AGSImageTiledLayer.h:101
A geometry that represents a rectangular shape.
Definition: AGSEnvelope.h:47
Definition: AGSImageTiledLayer.h:33
Definition: AGSImageTiledLayer.h:31
A tile key.
Definition: AGSTileKey.h:30
AGSNoDataTileBehavior noDataTileBehavior
Definition: AGSImageTiledLayer.h:89
AGSTileInfo * tileInfo
Definition: AGSImageTiledLayer.h:58
Definition: AGSImageTiledLayer.h:32
void(^ tileRequestHandler)(AGSTileKey *tileKey)
A base class for layers that allow color adjustments.
Definition: AGSImageAdjustmentLayer.h:29
AGSNoDataTileBehavior
Definition: AGSImageTiledLayer.h:29