summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLRasterSource.h
blob: 3b22257cb6a58b644d849d6914f6bb5b1ffd9ec9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#import "MGLSource.h"
#import "MGLTypes.h"

@class MGLTileSet;

NS_ASSUME_NONNULL_BEGIN

@interface MGLRasterSource : MGLSource

@property (nonatomic, readonly, copy) NSURL *URL;
@property (nonatomic, readonly, assign) NSUInteger tileSize;
@property (nonatomic, readonly, nullable) MGLTileSet *tileSet;

- (instancetype)initWithSourceIdentifier:(NSString *)sourceIdentifier URL:(NSURL *)url tileSize:(CGFloat)tileSize;

- (instancetype)initWithSourceIdentifier:(NSString *)sourceIdentifier tileSize:(CGFloat)tileSize tileSet:(MGLTileSet *)tileSet;

@end

NS_ASSUME_NONNULL_END