ArcGIS Runtime SDK for iOS: AGSWMTSLayer.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSWMTSLayer.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/AGSTileImageFormat.h>
29 
30 @class AGSWMTSLayerInfo;
32  //Required for Globals API doc
34 
65 
66 
67 
68 #pragma mark -
69 #pragma mark initializers
70 
71 
72 
79 -(instancetype)initWithURL:(NSURL *)URL layerID:(NSString *)layerID;
80 
88 -(instancetype)initWithURL:(NSURL *)URL layerID:(NSString *)layerID preferredImageFormat:(AGSTileImageFormat)preferredImageFormat;
89 
97 -(instancetype)initWithURL:(NSURL *)URL layerID:(NSString *)layerID matrixSetID:(NSString *)matrixSetID;
98 
107 -(instancetype)initWithURL:(NSURL *)URL layerID:(NSString *)layerID matrixSetID:(NSString *)matrixSetID preferredImageFormat:(AGSTileImageFormat)preferredImageFormat;
108 
114 -(instancetype)initWithLayerInfo:(AGSWMTSLayerInfo *)layerInfo;
115 
122 -(instancetype)initWithLayerInfo:(AGSWMTSLayerInfo *)layerInfo preferredImageFormat:(AGSTileImageFormat)preferredImageFormat;
123 
130 -(instancetype)initWithLayerInfo:(AGSWMTSLayerInfo *)layerInfo tileMatrixSet:(AGSWMTSTileMatrixSet *)tileMatrixSet;
131 
139 -(instancetype)initWithLayerInfo:(AGSWMTSLayerInfo *)layerInfo tileMatrixSet:(AGSWMTSTileMatrixSet *)tileMatrixSet preferredImageFormat:(AGSTileImageFormat)preferredImageFormat;
140 
147 +(instancetype)WMTSLayerWithURL:(NSURL *)URL layerID:(NSString *)layerID;
148 
156 +(instancetype)WMTSLayerWithURL:(NSURL *)URL layerID:(NSString *)layerID preferredImageFormat:(AGSTileImageFormat)preferredImageFormat;
157 
165 +(instancetype)WMTSLayerWithURL:(NSURL *)URL layerID:(NSString *)layerID matrixSetID:(NSString *)matrixSetID;
166 
175 +(instancetype)WMTSLayerWithURL:(NSURL *)URL layerID:(NSString *)layerID matrixSetID:(NSString *)matrixSetID preferredImageFormat:(AGSTileImageFormat)preferredImageFormat;
176 
182 +(instancetype)WMTSLayerWithLayerInfo:(AGSWMTSLayerInfo *)layerInfo;
183 
190 +(instancetype)WMTSLayerWithLayerInfo:(AGSWMTSLayerInfo *)layerInfo preferredImageFormat:(AGSTileImageFormat)preferredImageFormat;
191 
198 +(instancetype)WMTSLayerWithLayerInfo:(AGSWMTSLayerInfo *)layerInfo tileMatrixSet:(AGSWMTSTileMatrixSet *)tileMatrixSet;
199 
207 +(instancetype)WMTSLayerWithLayerInfo:(AGSWMTSLayerInfo *)layerInfo tileMatrixSet:(AGSWMTSTileMatrixSet *)tileMatrixSet preferredImageFormat:(AGSTileImageFormat)preferredImageFormat;
208 
209 #pragma mark -
210 #pragma mark properties
211 
217 @property (nonatomic, copy, readwrite) NSDictionary<NSString *, NSString *> *customParameters;
218 
222 @property (nullable, nonatomic, strong, readonly) NSURL *URL;
223 
227 @property (nonatomic, assign, readonly) AGSTileImageFormat preferredImageFormat;
228 
232 @property (nullable, nonatomic, strong, readonly) AGSWMTSLayerInfo *layerInfo;
233 
237 @property (nullable, nonatomic, strong, readonly) AGSWMTSTileMatrixSet *tileMatrixSet;
238 
239 #pragma mark -
240 #pragma mark methods
241 
242 
243 
244 @end
NSURL * URL
Definition: AGSElevationServiceInfo.h:73
AGSTileImageFormat
Definition: AGSTileImageFormat.h:35
A base class for layers that display cached maps. You would typically work with one or more sub-class...
Definition: AGSImageTiledLayer.h:65
Displays data from a WMTS service by using pre-generated tiles.
Definition: AGSWMTSLayer.h:64
AGSWMTSTileMatrixSet * tileMatrixSet
Definition: AGSWMTSLayer.h:237
NSDictionary< NSString *, NSString * > * customParameters
Definition: AGSWMTSLayer.h:217
AGSTileImageFormat preferredImageFormat
Definition: AGSWMTSLayer.h:227
AGSWMTSLayerInfo * layerInfo
Definition: AGSWMTSLayer.h:232
A layer in an OGC-WMTS service.
Definition: AGSWMTSLayerInfo.h:39
An OGC-WMTS service tile matrix set.
Definition: AGSWMTSTileMatrixSet.h:50
A protocol adopted by classes that access remote network resources that have the potential to be secu...
Definition: AGSRemoteResource.h:40