forked from dblock/ARTiledImageView
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ARWebTiledImageDataSource.h
34 lines (28 loc) · 1.02 KB
/
ARWebTiledImageDataSource.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
//
// ARWebTiledImageDataSource.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 a remote HTTP server.
*/
@interface ARWebTiledImageDataSource : 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 base URL from which to retrieve tiles.
@property (nonatomic) NSURL *tileBaseURL;
/// Tile format, eg. "jpg".
@property (nonatomic, copy) NSString *tileFormat;
/// Maximum tile level.
@property (nonatomic) NSInteger maxTileLevel;
/// Minimum tile level.
@property (nonatomic) NSInteger minTileLevel;
@end