ArcGIS Runtime SDK for iOS: AGSWMSLayer.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSWMSLayer.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/AGSImageAdjustmentLayer.h>
27 #import <ArcGIS/AGSRemoteResource.h>
28 #import <ArcGIS/AGSTimeAware.h>
29 #import <ArcGIS/AGSMapServiceImageFormat.h>
30 #import <ArcGIS/AGSWMSTypes.h>
31 
32 @class AGSWMSLayerInfo;
33 @class AGSWMSSublayer;
34 @class AGSItem;
35  //Required for Globals API doc
37 
72 
73 
74 
75 #pragma mark -
76 #pragma mark initializers
77 
78 
79 
85 -(instancetype)initWithLayerInfos:(NSArray<AGSWMSLayerInfo*> *)layerInfos;
86 
95 -(instancetype)initWithURL:(NSURL *)URL layerNames:(NSArray<NSString*> *)layerNames;
96 
102 -(instancetype)initWithItem:(AGSItem *)item;
103 
109 +(instancetype)WMSLayerWithLayerInfos:(NSArray<AGSWMSLayerInfo*> *)layerInfos;
110 
119 +(instancetype)WMSLayerWithURL:(NSURL *)URL layerNames:(NSArray<NSString*> *)layerNames;
120 
126 +(instancetype)WMSLayerWithItem:(AGSItem *)item;
127 
128 #pragma mark -
129 #pragma mark properties
130 
134 @property (nonatomic, strong, readonly) NSMutableArray<AGSWMSLayerInfo*> *layerInfos;
135 
139 @property (nonatomic, strong, readonly) NSMutableArray<NSString*> *layerNames;
140 
144 @property (nonatomic, assign, readwrite) AGSMapServiceImageFormat preferredImageFormat;
145 
149 @property (nonatomic, strong, readonly) NSMutableArray<AGSWMSSublayer*> *sublayers;
150 
154 @property (nonatomic, assign, readwrite) NSTimeInterval refreshInterval;
155 
160 @property (nonatomic, assign, readonly) AGSWMSVersion version;
161 
165 @property (nonatomic, copy, readwrite) NSDictionary<NSString*,NSString*> *customParameters;
166 
167 #pragma mark -
168 #pragma mark methods
169 
170 
171 
172 @end
173 
AGSMapServiceImageFormat
Definition: AGSMapServiceImageFormat.h:35
AGSWMSVersion
Definition: AGSWMSTypes.h:35
A base class for layers that allow color adjustments.
Definition: AGSImageAdjustmentLayer.h:37
Object representing a unit of content.
Definition: AGSItem.h:44
Displays data from a WMS service.
Definition: AGSWMSLayer.h:71
NSDictionary< NSString *, NSString * > * customParameters
Definition: AGSWMSLayer.h:165
NSMutableArray< AGSWMSLayerInfo * > * layerInfos
Definition: AGSWMSLayer.h:134
AGSMapServiceImageFormat preferredImageFormat
Definition: AGSWMSLayer.h:144
AGSWMSVersion version
Definition: AGSWMSLayer.h:160
NSMutableArray< AGSWMSSublayer * > * sublayers
Definition: AGSWMSLayer.h:149
NSTimeInterval refreshInterval
Definition: AGSWMSLayer.h:154
NSMutableArray< NSString * > * layerNames
Definition: AGSWMSLayer.h:139
Information about a layer in an OGC-WMS service.
Definition: AGSWMSLayerInfo.h:41
Represents an individual layer in an OGC-WMS service.
Definition: AGSWMSSublayer.h:39
A protocol adopted by classes that access remote network resources that have the potential to be secu...
Definition: AGSRemoteResource.h:40
A protocol that can be implemented by layers that support time.
Definition: AGSTimeAware.h:41