diff options
author | fabian-guerra <fabian.guerra@mapbox.com> | 2017-01-25 22:04:27 -0500 |
---|---|---|
committer | Jason Wray <friedbunny@users.noreply.github.com> | 2017-01-25 22:04:27 -0500 |
commit | 85f485e4edba611e058a9eb67cafda6df688a183 (patch) | |
tree | d5e4023a2afa0fbe410500db3c2d63452f62f171 /platform/ios | |
parent | 5dc83903d66afcb900d1363abc125a086f61384e (diff) | |
download | qtlocation-mapboxgl-85f485e4edba611e058a9eb67cafda6df688a183.tar.gz |
[ios, macos] Make MGLMapView non opaque by default (#7859)
Diffstat (limited to 'platform/ios')
-rw-r--r-- | platform/ios/CHANGELOG.md | 1 | ||||
-rw-r--r-- | platform/ios/src/MGLMapView.mm | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/platform/ios/CHANGELOG.md b/platform/ios/CHANGELOG.md index d9e04d40c9..3218039a50 100644 --- a/platform/ios/CHANGELOG.md +++ b/platform/ios/CHANGELOG.md @@ -6,6 +6,7 @@ Mapbox welcomes participation and contributions from everyone. Please read [CONT * Fixed a build error in the static framework flavor of this SDK caused by a missing header. ([#7844](https://github.com/mapbox/mapbox-gl-native/pull/7844)) * Fixed an issue causing MGLMapView’s `camera`’s `heading` to be set to a negative value, indicating an undefined heading, when the map view faces northwest. The heading is now wrapped to between zero and 360 degrees, for consistency with MGLMapView’s `direction` property. ([#7724](https://github.com/mapbox/mapbox-gl-native/pull/7724)) +* Fixed an issue causing MGLMapView flash of black. ([#7859](https://github.com/mapbox/mapbox-gl-native/pull/7859)) ## 3.4.0 diff --git a/platform/ios/src/MGLMapView.mm b/platform/ios/src/MGLMapView.mm index db86f59a57..c9900da059 100644 --- a/platform/ios/src/MGLMapView.mm +++ b/platform/ios/src/MGLMapView.mm @@ -394,7 +394,7 @@ public: MGLinitializeRunLoop(); _isTargetingInterfaceBuilder = NSProcessInfo.processInfo.mgl_isInterfaceBuilderDesignablesAgent; - _opaque = YES; + _opaque = NO; BOOL background = [UIApplication sharedApplication].applicationState == UIApplicationStateBackground; if (!background) |