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
MGLMapboxAPIBaseURL
key in Info.plist tohttps://api.mapbox.cn/
to use China-optimized APIs. This setting causesNavigationMapView
to 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) NavigationViewController
smoothly 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.routeControllerDidPassVisualInstructionPoint
if the views are used outside aNavigationViewController
. By contrast,InstructionsBannerView.updateDistance(for:)
should be called on every location update. (#1514) - Added the
ManeuverView.visualInstruction
andManeuverView.drivingSide
properties. (#1514)
Documentation is available online or within Xcode.