Skip to content

v0.6.0

Compare
Choose a tag to compare
@1ec5 1ec5 released this 28 Jul 00:04
· 5552 commits to master since this release

Changes since v0.5.0:

Packaging

  • By default, NavigationMapView displays the Navigation Guidance Day v2 style. A Navigation Preview Day v2 style (mapbox://styles/mapbox/navigation-preview-day-v2) is also available for applications that implement a preview map. (#387)
  • By default, NavigationMapView now indicates the level of traffic congestion along each segment of the route line. (#359)
  • Added Italian and Traditional Chinese localizations. Help translate the SDK into your language! (#413, #438)

User interface

  • A 🐞 button on the map allows the user to submit feedback about the current route. (#400)
  • The turn banner and bottom bar display fractional mileages as decimal numbers instead of vulgar fractions. 🙊🙉 (#383)
  • If a step leads to a freeway or freeway ramp, the turn banner generally displays a control city or a textual representation of the route number (alongside the existing shield) instead of the freeway name. (#410, #417)
  • As the user arrives at a waypoint, the turn banner displays the waypoint’s name instead of whitespace. (#419)
  • The route line is now wider by default, to accommodate traffic congestion coloring. (#390)
  • Moved the snapsUserLocationAnnotationToRoute property from RouteController to NavigationViewController. (#408)
  • The road name label at the bottom of the map continues to display the current road name after the user ventures away from the route. (#408)
  • If the upcoming maneuver travels along a bannered route, the parent route shield is no longer displayed in the turn banner. (#431)
  • Fixed an issue causing the Mapbox logo to peek out from under the Recenter button. (#424)

Voice guidance

  • Suppressed the voice announcement upon rerouting if the first step of the new route is sufficiently long. (#395)
  • The rerouting audio cue now unducks other applications’ audio afterwards. (#394)
  • If a step leads to a freeway or freeway ramp, voice announcements for the step generally omit the name in favor of the route number. (#404, #412)
  • Fixed an issue causing Amazon Polly to read parentheses aloud. (#418)

Navigation

  • Various methods of NavigationMapViewDelegate have more descriptive names in Objective-C. (#408)
  • Fixed an issue causing NavigationViewControllerDelegate.navigationViewController(_:didArriveAt:) to be called twice in a row. (#414)
  • Fixed a memory leak. (#399)

Core Navigation

  • Added a RouteController.location property that represents the user’s location snapped to the route line. (#408)
  • Added a RouteController.recordFeedback(type:description:) method for sending user feedback to Mapbox servers. (#304)
  • Fixed excessive rerouting while the user is located away from the route, such as in a parking lot. (#386)
  • Fixed an issue where RouteController sometimes got stuck on slight turn maneuvers. (#378)
  • When rerouting, Core Navigation connects to the same API endpoint with the same access token that was used to obtain the original route. (#405)
  • The ReplayLocationManager.location and SimulatedLocationManager.location properties now return simulated locations instead of the device’s true location as reported by Core Location. (#411)
  • You can enable the RouteController.checkForFasterRouteInBackground property to have Core Navigation periodically check for a faster route in the background. (#346)
  • Fixed an issue preventing the RouteControllerAlertLevelDidChange notification from posting when transitioning from a high alert level on one step to a high alert level on another step. (#425)
  • Improved the accuracy of location updates while the device is plugged in. (#432)
  • Added anonymized metrics collection around significant events such as rerouting. This data will be used to improve the quality of Mapbox’s products, including the underlying OpenStreetMap road data, the Mapbox Directions API, and Core Navigation. (#304)

Documentation is available online or within Xcode.