summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLRasterTileSource_Private.h
blob: 55f342c7ffab10704e2c0aefc0d7bc2e2e9e24ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#import "MGLRasterTileSource.h"

#include <memory>
#include <mbgl/util/variant.hpp>

namespace mbgl {
    class Tileset;
    namespace style {
        class RasterSource;
    }
}

NS_ASSUME_NONNULL_BEGIN

@interface MGLRasterTileSource (Private)

@property (nonatomic, readonly, nullable) mbgl::style::RasterSource *rawSource;

- (std::unique_ptr<mbgl::style::RasterSource>)pendingSourceWithIdentifier:(NSString *)identifier urlOrTileset:(mbgl::variant<std::string, mbgl::Tileset>)urlOrTileset tileSize:(uint16_t)tileSize;

@end

NS_ASSUME_NONNULL_END