From 317672eea1dd63f02a1d1662987209403f872ec2 Mon Sep 17 00:00:00 2001 From: Mattijs Fuijkschot Date: Thu, 20 Jun 2019 22:34:13 +0200 Subject: [PATCH] Apply defaultSettings after map view is laid out --- ios/RCTMGL/RCTMGLCamera.m | 1 + 1 file changed, 1 insertion(+) diff --git a/ios/RCTMGL/RCTMGLCamera.m b/ios/RCTMGL/RCTMGLCamera.m index ac4bd9d66..f9d40b7b5 100644 --- a/ios/RCTMGL/RCTMGLCamera.m +++ b/ios/RCTMGL/RCTMGLCamera.m @@ -218,6 +218,7 @@ - (NSString*)_trackingModeToString:(MGLUserTrackingMode) mode { - (void)initialLayout { + [self _setInitialCamera]; [self _updateCamera]; }