summaryrefslogtreecommitdiff
path: root/platform/ios/src/MGLMapView.mm
diff options
context:
space:
mode:
authorAlexander Shalamov <alexander.shalamov@mapbox.com>2019-06-04 14:46:59 +0300
committerAlexander Shalamov <alexander.shalamov@mapbox.com>2019-06-05 00:03:13 -0700
commita71ccae141a61c9b82d921c44d51d3ca5b425f42 (patch)
tree0ebb8a2c91a8557c8bd78a8b7557bd2c07287e9d /platform/ios/src/MGLMapView.mm
parent0ba0b8c04069718e476457d39fd7dc0f085ab734 (diff)
downloadqtlocation-mapboxgl-a71ccae141a61c9b82d921c44d51d3ca5b425f42.tar.gz
[ios] Add integtation test that verifies MGLMapViewImpl size
Diffstat (limited to 'platform/ios/src/MGLMapView.mm')
-rw-r--r--platform/ios/src/MGLMapView.mm5
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/ios/src/MGLMapView.mm b/platform/ios/src/MGLMapView.mm
index 5074b783ba..85a2e3be92 100644
--- a/platform/ios/src/MGLMapView.mm
+++ b/platform/ios/src/MGLMapView.mm
@@ -776,6 +776,11 @@ public:
self.lastSnapshotImage = nil;
}
+- (MGLMapViewImpl *)viewImpl
+{
+ return _mbglView.get();
+}
+
#pragma mark - Layout -
+ (BOOL)requiresConstraintBasedLayout