ArcGIS Runtime SDK for iOS: AGSArcGISMapImageLayer.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSArcGISMapImageLayer.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 
33 @class AGSItem;
35 
36 @protocol AGSCancelable;
37  //Required for Globals API doc
39 
81 
82 
83 
84 #pragma mark -
85 #pragma mark initializers
86 
87 
88 
95 -(instancetype)initWithURL:(NSURL*)URL;
96 
102 -(instancetype)initWithItem:(AGSItem*)item;
103 
109 +(instancetype)ArcGISMapImageLayerWithItem:(AGSItem*)item;
110 
116 +(instancetype)ArcGISMapImageLayerWithURL:(NSURL*)URL;
117 
118 #pragma mark -
119 #pragma mark properties
120 
121 
125 @property (nonatomic, copy, readwrite) NSString *geodatabaseVersion;
126 
130 @property (nullable, nonatomic, strong, readonly) AGSArcGISMapServiceInfo *mapServiceInfo;
131 
135 @property (nonatomic, assign, readwrite) AGSMapServiceImageFormat imageFormat;
136 
141 @property (nonatomic, strong, readonly) NSMutableArray<AGSArcGISMapImageSublayer*> *mapImageSublayers;
142 
146 @property (nonatomic, assign, readwrite) NSTimeInterval refreshInterval;
147 
151 @property (nonatomic, copy, readonly) NSArray<AGSServiceFeatureTable*> *tables;
152 
153 #pragma mark -
154 #pragma mark methods
155 
163 -(void)resetSublayers;
164 
168 -(id<AGSCancelable>)loadTablesAndLayersWithCompletion:(void(^)(NSError *error))completion;
169 
170 
171 
172 @end
AGSMapServiceImageFormat
Definition: AGSMapServiceImageFormat.h:35
Displays data from an ArcGIS Map service by using dynamically generated map images.
Definition: AGSArcGISMapImageLayer.h:80
NSString * geodatabaseVersion
Definition: AGSArcGISMapImageLayer.h:125
AGSMapServiceImageFormat imageFormat
Definition: AGSArcGISMapImageLayer.h:135
NSMutableArray< AGSArcGISMapImageSublayer * > * mapImageSublayers
Definition: AGSArcGISMapImageLayer.h:141
NSArray< AGSServiceFeatureTable * > * tables
Definition: AGSArcGISMapImageLayer.h:151
AGSArcGISMapServiceInfo * mapServiceInfo
Definition: AGSArcGISMapImageLayer.h:130
NSTimeInterval refreshInterval
Definition: AGSArcGISMapImageLayer.h:146
Information about an individual layer or table in a dynamic ArcGIS Map Service.
Definition: AGSArcGISMapImageSublayer.h:47
Information about an ArcGIS Server map service.
Definition: AGSArcGISMapServiceInfo.h:48
A base class for layers that allow color adjustments.
Definition: AGSImageAdjustmentLayer.h:37
Object representing a unit of content.
Definition: AGSItem.h:44
A dataset from an individual layer or table in an ArcGIS map or feature service.
Definition: AGSServiceFeatureTable.h:95
A protocol exposed by operations that allow cancellation.
Definition: AGSCancelable.h:38
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