-
Notifications
You must be signed in to change notification settings - Fork 36
/
ARLocalTiledImageDataSource.h
34 lines (28 loc) · 1.02 KB
/
ARLocalTiledImageDataSource.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//
// ARLocalTiledImageDataSource.h
// ARTiledImageView
//
// Created by Daniel Doubrovkine on 3/10/14.
// Copyright (c) 2014 Artsy. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "ARTiledImageViewDataSource.h"
/**
* An implementation of the ARTiledImageViewDataSource protocol that supports retrieving tiles from local storage.
*/
@interface ARLocalTiledImageDataSource : NSObject <ARTiledImageViewDataSource>
/// Maximum height of the tiled image.
@property (nonatomic) NSInteger maxTiledHeight;
/// Maximum width of the tiled image.
@property (nonatomic) NSInteger maxTiledWidth;
/// Maximum tile width or height. Tiles are square except on edges.
@property (nonatomic) NSInteger tileSize;
/// The path from which to retrieve tiles.
@property (nonatomic, copy) NSString *tileBasePath;
/// Tile format, eg. "jpg".
@property (nonatomic, copy) NSString *tileFormat;
/// Maximum tile level.
@property (nonatomic) NSInteger maxTileLevel;
/// Minimum tile level.
@property (nonatomic) NSInteger minTileLevel;
@end