summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLRasterTileSource_Private.h
diff options
context:
space:
mode:
authorJulian Rex <julian.rex@mapbox.com>2019-09-17 23:37:24 -0400
committerJulian Rex <julian.rex@mapbox.com>2019-09-17 23:38:00 -0400
commited7321e0b3bc02ec6d3c100bccd2a5f4fbcf3b33 (patch)
treeb33eaf1b17fb6f9808a4708ba070a6873da16ce9 /platform/darwin/src/MGLRasterTileSource_Private.h
parent06ee0404fcb9c075e8a6cd2343fc7b0c04163ca3 (diff)
downloadqtlocation-mapboxgl-ed7321e0b3bc02ec6d3c100bccd2a5f4fbcf3b33.tar.gz
[ios] Speculative fix for failing test: MGLDocumentationExampleTests.testMGLHillshadeStyleLayer()upstream/jrex/check-source-compatibility
Diffstat (limited to 'platform/darwin/src/MGLRasterTileSource_Private.h')
-rw-r--r--platform/darwin/src/MGLRasterTileSource_Private.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLRasterTileSource_Private.h b/platform/darwin/src/MGLRasterTileSource_Private.h
index 8502b811e2..55f342c7ff 100644
--- a/platform/darwin/src/MGLRasterTileSource_Private.h
+++ b/platform/darwin/src/MGLRasterTileSource_Private.h
@@ -1,8 +1,10 @@
#import "MGLRasterTileSource.h"
#include <memory>
+#include <mbgl/util/variant.hpp>
namespace mbgl {
+ class Tileset;
namespace style {
class RasterSource;
}
@@ -14,7 +16,7 @@ NS_ASSUME_NONNULL_BEGIN
@property (nonatomic, readonly, nullable) mbgl::style::RasterSource *rawSource;
-- (std::unique_ptr<mbgl::style::RasterSource>)pendingSourceWithIdentifier:(NSString *)identifier configurationURL:(NSURL *)configurationURL tileSize:(CGFloat)tileSize;
+- (std::unique_ptr<mbgl::style::RasterSource>)pendingSourceWithIdentifier:(NSString *)identifier urlOrTileset:(mbgl::variant<std::string, mbgl::Tileset>)urlOrTileset tileSize:(uint16_t)tileSize;
@end