v0.19.0
Packaging
- Moved guides and examples to a new Mapbox Navigation SDK for iOS website. (#1552)
- Applications intended for use in mainland China can set the
MGLMapboxAPIBaseURLkey in Info.plist tohttps://api.mapbox.cn/to use China-optimized APIs. This setting causesNavigationMapViewto default to China-optimized day and night styles with places and roads labeled in Simplified Chinese. (#1558)
User interface
- Fixed an issue where selecting a step from the steps list would take the user to the wrong step. (#1524)
- The
StyleManagerDelegate.locationFor(styleManager:)method’s return value is now optional. (#1523) NavigationViewControllersmoothly fades between light and dark status bars. (#1535)- Renamed the
InstructionsBannerView.updateInstruction(_:)method toInstructionsBannerView.update(for:). Added theNextBannerView.update(for:)andLanesView.update(for:)methods. These methods are intended to be called in response toNotification.Name.routeControllerDidPassVisualInstructionPointif the views are used outside aNavigationViewController. By contrast,InstructionsBannerView.updateDistance(for:)should be called on every location update. (#1514) - Added the
ManeuverView.visualInstructionandManeuverView.drivingSideproperties. (#1514)
Documentation is available online or within Xcode.