From fe92d590bbe23748c691aa991f5608409a4b5924 Mon Sep 17 00:00:00 2001 From: Jesse Bounds Date: Thu, 26 May 2016 16:34:26 -0700 Subject: [ios] Force update from display link when display link is created. This forces the call of the map view's display link target when the display link is created. When a map view is shown the first time this is not required. However, if the display link was torn down and then recreated due to the map view being removed / obscured in the view hierarchy the map view delegate may expect to be informed when the map view did finish loading the map when it is shown again. This adds a call to `updateFromDisplayLink` just after a display link is created which helps trigger a full refresh of the map in the sense that all delegate methods get exercised including `mapViewDidFinishLoadingMap`. --- platform/ios/src/MGLMapView.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/ios/src/MGLMapView.mm b/platform/ios/src/MGLMapView.mm index 359827ae61..57e59be10d 100644 --- a/platform/ios/src/MGLMapView.mm +++ b/platform/ios/src/MGLMapView.mm @@ -913,6 +913,7 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration) _displayLink.frameInterval = MGLTargetFrameInterval; [_displayLink addToRunLoop:[NSRunLoop currentRunLoop] forMode:NSRunLoopCommonModes]; _needsDisplayRefresh = YES; + [self updateFromDisplayLink]; } else if ( ! isVisible && _displayLink) { -- cgit v1.2.1 From c9c0767a1d5163b8e4b6a8c2c7f44eafdff711a0 Mon Sep 17 00:00:00 2001 From: Jesse Bounds Date: Fri, 27 May 2016 16:26:48 -0700 Subject: [ios] Update telem domain and certs Change domain from api -> events Replace old certs with new ones with the same name. The new certs have an expiry that is further out. --- .../default/resources/api_mapbox_com-digicert.der | Bin 2077 -> 1913 bytes .../default/resources/api_mapbox_com-geotrust.der | Bin 1969 -> 1757 bytes platform/ios/src/MGLAPIClient.m | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/default/resources/api_mapbox_com-digicert.der b/platform/default/resources/api_mapbox_com-digicert.der index d84cee3908..e8ef427f33 100644 Binary files a/platform/default/resources/api_mapbox_com-digicert.der and b/platform/default/resources/api_mapbox_com-digicert.der differ diff --git a/platform/default/resources/api_mapbox_com-geotrust.der b/platform/default/resources/api_mapbox_com-geotrust.der index 116144bc0c..1c7331dedc 100644 Binary files a/platform/default/resources/api_mapbox_com-geotrust.der and b/platform/default/resources/api_mapbox_com-geotrust.der differ diff --git a/platform/ios/src/MGLAPIClient.m b/platform/ios/src/MGLAPIClient.m index 91bc074425..63adb3c463 100644 --- a/platform/ios/src/MGLAPIClient.m +++ b/platform/ios/src/MGLAPIClient.m @@ -3,7 +3,7 @@ #import "MGLAccountManager.h" static NSString * const MGLAPIClientUserAgentBase = @"MapboxEventsiOS"; -static NSString * const MGLAPIClientBaseURL = @"https://api.mapbox.com"; +static NSString * const MGLAPIClientBaseURL = @"https://events.mapbox.com"; static NSString * const MGLAPIClientEventsPath = @"events/v2"; static NSString * const MGLAPIClientHeaderFieldUserAgentKey = @"User-Agent"; -- cgit v1.2.1 From 87d1191b84d8b2662f49fb91b5ccf0f4fba5577a Mon Sep 17 00:00:00 2001 From: Jesse Bounds Date: Tue, 7 Jun 2016 15:08:11 -0700 Subject: [ios] Update changelog and bump version to 3.2.3 --- platform/ios/CHANGELOG.md | 5 +++++ platform/ios/Mapbox-iOS-SDK-symbols.podspec | 2 +- platform/ios/Mapbox-iOS-SDK.podspec | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/platform/ios/CHANGELOG.md b/platform/ios/CHANGELOG.md index a12fa0244f..c0eaa9b7f5 100644 --- a/platform/ios/CHANGELOG.md +++ b/platform/ios/CHANGELOG.md @@ -2,6 +2,11 @@ Mapbox welcomes participation and contributions from everyone. If you’d like to do so please see [CONTRIBUTING.md](https://github.com/mapbox/mapbox-gl-native/blob/master/CONTRIBUTING.md) first to get started. +## 3.2.3 + +- Fixed an issue preventing `-[MGLMapViewDelegate mapViewDidFinishLoadingMap:]` from being called when returning to the view controller containing the map view from another view controller. ([#5164](https://github.com/mapbox/mapbox-gl-native/pull/5164)) +- Declarations in the API documentation are shown in both Objective-C and Swift. ([realm/jazzy#530](https://github.com/realm/jazzy/pull/530)) + ## 3.2.2 - Existing MGLStyle class methods that return default style URLs have been deprecated in favor of new methods that require an explicit style version parameter. The deprecated, unversioned methods continue to return version 8 of the respective styles and will not be updated as new versions of the styles are released. ([#4759](https://github.com/mapbox/mapbox-gl-native/pull/4759)) diff --git a/platform/ios/Mapbox-iOS-SDK-symbols.podspec b/platform/ios/Mapbox-iOS-SDK-symbols.podspec index 8f081f2652..5b3ef83113 100644 --- a/platform/ios/Mapbox-iOS-SDK-symbols.podspec +++ b/platform/ios/Mapbox-iOS-SDK-symbols.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |m| m.name = 'Mapbox-iOS-SDK' - m.version = '3.2.2-symbols' + m.version = '3.2.3-symbols' m.summary = 'Open source vector map solution for iOS with full styling capabilities.' m.description = 'Open source, OpenGL-based vector map solution for iOS with full styling capabilities and Cocoa Touch APIs.' diff --git a/platform/ios/Mapbox-iOS-SDK.podspec b/platform/ios/Mapbox-iOS-SDK.podspec index 086d4ddc41..a93e002a55 100644 --- a/platform/ios/Mapbox-iOS-SDK.podspec +++ b/platform/ios/Mapbox-iOS-SDK.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |m| m.name = 'Mapbox-iOS-SDK' - m.version = '3.2.2' + m.version = '3.2.3' m.summary = 'Open source vector map solution for iOS with full styling capabilities.' m.description = 'Open source, OpenGL-based vector map solution for iOS with full styling capabilities and Cocoa Touch APIs.' -- cgit v1.2.1