v0.15.0
Breaking changes
NavigationMapViewDelegateandRouteMapViewControllerDelegate:navigationMapView(_:didTap:)is nownavigationMapView(_:didSelect:)#1063- The Constants that concern Route-Snapping logic have been re-named. The new names are:
RouteSnappingMinimumSpeed,RouteSnappingMaxManipulatedCourseAngle, andRouteSnappingMinimumHorizontalAccuracy.
User interface
StepsViewController's convienence initalizer (StepsViewController.init(routeProgress:)) is now public. (#1167)- Fixed an issue preventing the distance from appearing in the turn banner when the system language was set to Hebrew and the system region was set to Israel or any other region that uses the metric system. (#1176)
- Various views and view controllers correctly mirror right-to-left in Hebrew. (#1182)
Core Navigation
RoteControllernow has a new property,snappedLocation. This property represents the raw location, snapped to the current route, if applicable. If not applicable, the value isnil.RouteController'sMBRouteControllerProgressDidChangenotification now exposes the raw location in it's update, accessible byMBRouteControllerRawLocationKey
Voice guidance
- Fixed an issue that caused
RouteVoiceControllerandMabpboxVoiceControllerto speak over one another. #1213
Other changes
- Fixed a crash while navigating that affected applications that do not use Mapbox-hosted styles or vector tiles. #1183
- The
DistanceFormatter.attributedString(for:)method is now implemented. It returns an attributed string representation of the distance in which theNSAttributedStringKey.quantityattribute is applied to the numeric quantity. (#1176) - Fixed an issue in which turn lanes were displayed in the wrong order when the system language was set to Hebrew. (#1175)
Documentation is available online or within Xcode.