v0.26.0
Client-side routing
- Added a
NavigationDirectionsclass that manages offline tile packs and client-side route calculation. (#1808) - Extended
BundlewithBundle.suggestedTileURLand other properties to facilitate offline downloads. (#1808)
CarPlay
- When selecting a search result in CarPlay, the resulting routes lead to the search result’s routable location when available. Routes to a routable location are more likely to be passable. (#1859)
- Fixed an issue where the CarPlay navigation map’s vanishing point and user puck initially remained centered on screen, instead of accounting for the maneuver panel, until the navigation bar was shown. (#1856)
- Fixed an issue where route shields and exit numbers appeared blurry in the maneuver panel on CarPlay devices and failed to appear in the CarPlay simulator. (#1868)
- Added
VisualInstruction.containsLaneIndications,VisualInstruction.maneuverImageSet(side:),VisualInstruction.shouldFlipImage(side:), andVisualInstruction.carPlayManeuverLabelAttributedText(bounds:shieldHeight:window:). (#1860) RouteLegProgress.upComingStephas been renamed toupcomingStep. (#1860)
Other changes
- The
NavigationSettings.sharedproperty is now accessible in Objective-C code asMBNavigationSettings.sharedSettings. (#1882) - Fixed spurious rerouting on multi-leg routes. (#1884)
- Fixed a hang that occurred when failing to fetch a route shield image for display in a visual instruction banner. (#1888)
- Adding property
RouteController.nearbyCoordinates, which offers similar behavior toRouteLegProgress.nearbyCoordinates, which the addition of step lookahead/lookbehind in multi-leg routes. (#1883) - The
MGLShapeSourceOptions.lineDistanceMetricsproperty has been temporarily disabled from the route line shape source due to a crash. This means it isn’t possible to set theMGLLineStyleLayer.lineGradientproperty on the route line style layers. (#1886)
Documentation is available online or within Xcode.