summaryrefslogtreecommitdiff
path: root/platform/ios/src/MGLMapView+Impl.h
diff options
context:
space:
mode:
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();