ArcGIS Runtime SDK for iOS: AGSTileInfo.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSTileInfo.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/AGSObject.h>
27 #import <ArcGIS/AGSTileImageFormat.h>
28 
29 @class AGSPoint;
30 @class AGSSpatialReference;
31 @class AGSLevelOfDetail;
32  //Required for Globals API doc
34 
44 @interface AGSTileInfo : AGSObject
45 
46 
47 #pragma mark -
48 #pragma mark initializers
49 
50 
51 
63 + (instancetype)tileInfoWithDPI:(NSInteger)DPI
64  format:(AGSTileImageFormat)format
65  levelsOfDetail:(NSArray<AGSLevelOfDetail*> *)levelsOfDetail
66  origin:(AGSPoint *)origin
67  spatialReference:(AGSSpatialReference *)spatialReference
68  tileHeight:(NSInteger)tileHeight
69  tileWidth:(NSInteger)tileWidth;
70 
82 - (instancetype)initWithDPI:(NSInteger)DPI
83  format:(AGSTileImageFormat)format
84  levelsOfDetail:(NSArray<AGSLevelOfDetail*> *)levelsOfDetail
85  origin:(AGSPoint *)origin
86  spatialReference:(AGSSpatialReference *)spatialReference
87  tileHeight:(NSInteger)tileHeight
88  tileWidth:(NSInteger)tileWidth;
89 
90 #pragma mark -
91 #pragma mark properties
92 
96 @property (nonatomic, assign, readonly) NSInteger tileWidth;
97 
101 @property (nonatomic, assign, readonly) NSInteger tileHeight;
102 
106 @property (nonatomic, assign, readonly) NSInteger DPI;
107 
108 @property (nonatomic, assign, readonly) AGSTileImageFormat format;
109 
113 @property (nonatomic, strong, readonly) AGSPoint *origin;
114 
121 @property (nonatomic, assign, readonly) float compressionQuality;
122 
127 @property (nonatomic, strong, readonly) AGSSpatialReference *spatialReference;
128 
133 @property (nonatomic, copy, readonly) NSArray<AGSLevelOfDetail*> *levelsOfDetail;
134 
135 #pragma mark -
136 #pragma mark methods
137 
138 
139 @end
AGSTileImageFormat
Definition: AGSTileImageFormat.h:35
A scale level in a tiling scheme.
Definition: AGSLevelOfDetail.h:38
Definition: AGSObject.h:28
A location defined by x and y (and optionally z) coordinates.
Definition: AGSPoint.h:73
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:49
The tiling scheme of a tiled layer.
Definition: AGSTileInfo.h:45
float compressionQuality
Definition: AGSTileInfo.h:121
NSInteger tileHeight
Definition: AGSTileInfo.h:101
AGSPoint * origin
Definition: AGSTileInfo.h:113
AGSSpatialReference * spatialReference
Definition: AGSTileInfo.h:127
NSInteger DPI
Definition: AGSTileInfo.h:106
AGSTileImageFormat format
Definition: AGSTileInfo.h:108
NSArray< AGSLevelOfDetail * > * levelsOfDetail
Definition: AGSTileInfo.h:133
NSInteger tileWidth
Definition: AGSTileInfo.h:96