ArcGIS Runtime SDK for iOS: AGSTileInfo.h Source File
ArcGIS Runtime SDK for iOS  100.9
AGSTileInfo.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 
19 #import <ArcGIS/AGSObject.h>
20 #import <ArcGIS/AGSTileImageFormat.h>
21 
22 @class AGSPoint;
23 @class AGSSpatialReference;
24 @class AGSLevelOfDetail;
25  //Required for Globals API doc
27 
37 @interface AGSTileInfo : AGSObject
38 
39 
40 #pragma mark -
41 #pragma mark initializers
42 
43 
44 
56 + (instancetype)tileInfoWithDPI:(NSInteger)DPI
57  format:(AGSTileImageFormat)format
58  levelsOfDetail:(NSArray<AGSLevelOfDetail*> *)levelsOfDetail
59  origin:(AGSPoint *)origin
60  spatialReference:(AGSSpatialReference *)spatialReference
61  tileHeight:(NSInteger)tileHeight
62  tileWidth:(NSInteger)tileWidth;
63 
75 - (instancetype)initWithDPI:(NSInteger)DPI
76  format:(AGSTileImageFormat)format
77  levelsOfDetail:(NSArray<AGSLevelOfDetail*> *)levelsOfDetail
78  origin:(AGSPoint *)origin
79  spatialReference:(AGSSpatialReference *)spatialReference
80  tileHeight:(NSInteger)tileHeight
81  tileWidth:(NSInteger)tileWidth;
82 
83 #pragma mark -
84 #pragma mark properties
85 
89 @property (nonatomic, assign, readonly) NSInteger tileWidth;
90 
94 @property (nonatomic, assign, readonly) NSInteger tileHeight;
95 
99 @property (nonatomic, assign, readonly) NSInteger DPI;
100 
101 @property (nonatomic, assign, readonly) AGSTileImageFormat format;
102 
106 @property (nonatomic, strong, readonly) AGSPoint *origin;
107 
114 @property (nonatomic, assign, readonly) float compressionQuality;
115 
120 @property (nonatomic, strong, readonly) AGSSpatialReference *spatialReference;
121 
126 @property (nonatomic, copy, readonly) NSArray<AGSLevelOfDetail*> *levelsOfDetail;
127 
128 #pragma mark -
129 #pragma mark methods
130 
131 
132 @end
NSInteger tileWidth
Definition: AGSTileInfo.h:89
The tiling scheme of a tiled layer.
Definition: AGSTileInfo.h:37
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:39
NSInteger DPI
Definition: AGSTileInfo.h:99
Definition: AGSObject.h:21
NSInteger tileHeight
Definition: AGSTileInfo.h:94
A scale level in a tiling scheme.
Definition: AGSLevelOfDetail.h:30
AGSTileImageFormat
Definition: AGSTileImageFormat.h:29
A location defined by x and y (and optionally z) coordinates.
Definition: AGSPoint.h:57
AGSTileImageFormat format
Definition: AGSTileInfo.h:101
float compressionQuality
Definition: AGSTileInfo.h:114