diff options
author | Lloyd Sheng <i@lloydsheng.com> | 2018-11-29 18:35:57 +0800 |
---|---|---|
committer | Lloyd Sheng <i@lloydsheng.com> | 2018-11-29 18:35:57 +0800 |
commit | 53351c2ae83618eb8324f9ed688fdbf09debf21a (patch) | |
tree | 1a1949ed5c2cd9993b32f143352dc6125021235e | |
parent | 4146699c389be9a26c97e023aa21396cb6308a40 (diff) | |
download | qtlocation-mapboxgl-53351c2ae83618eb8324f9ed688fdbf09debf21a.tar.gz |
Add turnstile events for iOS MGLMapSnapshotter
-rw-r--r-- | platform/darwin/src/MGLMapSnapshotter.mm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLMapSnapshotter.mm b/platform/darwin/src/MGLMapSnapshotter.mm index 65937fde66..5381648944 100644 --- a/platform/darwin/src/MGLMapSnapshotter.mm +++ b/platform/darwin/src/MGLMapSnapshotter.mm @@ -17,6 +17,7 @@ #import "MGLAttributionInfo_Private.h" #import "MGLLoggingConfiguration_Private.h" #import "MGLRendererConfiguration.h" +#import "MGLMapboxEvents.h" #if TARGET_OS_IPHONE #import "UIImage+MGLAdditions.h" @@ -74,6 +75,7 @@ const CGFloat MGLSnapshotterMinimumPixelSize = 64; _latLngForFn = std::move(latLngForFn); _scale = scale; _image = image; + [MGLMapboxEvents pushTurnstileEvent]; } return self; } |