diff options
Diffstat (limited to 'platform/darwin/src/MGLMapSnapshotter.h')
-rw-r--r-- | platform/darwin/src/MGLMapSnapshotter.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLMapSnapshotter.h b/platform/darwin/src/MGLMapSnapshotter.h index 146cbd2e15..7236d4502f 100644 --- a/platform/darwin/src/MGLMapSnapshotter.h +++ b/platform/darwin/src/MGLMapSnapshotter.h @@ -5,6 +5,8 @@ NS_ASSUME_NONNULL_BEGIN +@class MGLOfflineStorage; + /** The options to use when creating images with the `MGLMapSnapshotter`. */ @@ -182,7 +184,7 @@ MGL_EXPORT @param options The options to use when generating a map snapshot. @return An initialized map snapshotter. */ -- (instancetype)initWithOptions:(MGLMapSnapshotOptions *)options NS_DESIGNATED_INITIALIZER; +- (instancetype)initWithOptions:(MGLMapSnapshotOptions *)options offlineStorage:(MGLOfflineStorage*)offlineStorage NS_DESIGNATED_INITIALIZER; /** Starts the snapshot creation and executes the specified block with the result. |