summaryrefslogtreecommitdiff
path: root/platform/ios/src/MGLMapView+Impl.h
diff options
context:
space:
mode:
authorAlexander Shalamov <alexander.shalamov@mapbox.com>2019-05-31 16:10:47 +0300
committerAlexander Shalamov <alexander.shalamov@mapbox.com>2019-06-05 00:03:13 -0700
commit0ba0b8c04069718e476457d39fd7dc0f085ab734 (patch)
tree3d55ddad6376babb03a57aad288d9c5f8dcb9111 /platform/ios/src/MGLMapView+Impl.h
parent012e3931bf1060df89923404ea9324f170139797 (diff)
downloadqtlocation-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.h3
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();