diff options
author | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2019-05-31 16:10:47 +0300 |
---|---|---|
committer | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2019-06-05 00:03:13 -0700 |
commit | 0ba0b8c04069718e476457d39fd7dc0f085ab734 (patch) | |
tree | 3d55ddad6376babb03a57aad288d9c5f8dcb9111 /platform/ios/src/MGLMapView+Impl.h | |
parent | 012e3931bf1060df89923404ea9324f170139797 (diff) | |
download | qtlocation-mapboxgl-0ba0b8c04069718e476457d39fd7dc0f085ab734.tar.gz |
[ios] Calculate size of a MGLMapViewOpenGLImpl renderable from MGLMapView bounds
Fixes: #14807
Diffstat (limited to 'platform/ios/src/MGLMapView+Impl.h')
-rw-r--r-- | platform/ios/src/MGLMapView+Impl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/ios/src/MGLMapView+Impl.h b/platform/ios/src/MGLMapView+Impl.h index f9368b7f85..3a7488b443 100644 --- a/platform/ios/src/MGLMapView+Impl.h +++ b/platform/ios/src/MGLMapView+Impl.h @@ -48,6 +48,9 @@ public: // the rendering context and reduce memory while in the background. virtual UIImage* snapshot() = 0; + // Called when UIView's layout has changed. + virtual void layoutChanged() {}; + // Called by the view delegate when it's time to render. void render(); |