@JThramer JThramer released this Sep 18, 2018 · 8 commits to master since this release

Assets 2

Changes since v0.20.1:

User interface

  • In CarPlay-enabled applications on iOS 12, this SDK now displays a map, search interface, and turn-by-turn navigation experience on the connected CarPlay device. The CarPlay screen is managed by the shared CarPlayManager object, which you can configure by implementing the CarPlayManagerDelegate protocol. (#1714)
  • Added the Style.previewMapStyleURL property for customizing the style displayed by a preview map. (#1695)

User location

  • Breaking change: The eventsManager argument of RouteController(along:directions:locationManager:eventsManager:) is now required. NavigationViewController(for:directions:styles:locationManager:voiceController:eventsManager:) now has an optional eventsManager argument, which is passed to any instance of RouteController created as a result of rerouting. (#1671)
  • Fixed issues where the user puck would overshoot a turn or drift away from a curved road. (#1710)
  • Fixed incorrect conversions to inches in DistanceFormatter. (#1699)
  • Fixed several crashes related to telemetry collection. (#1668)

Documentation is available online or within Xcode.

@vincethecoder vincethecoder released this Sep 10, 2018 · 387 commits to master since this release

Assets 2

Changes since v0.20.0:

  • Upgraded mapbox-events-ios to v0.5.0 to avoid a potential incompatibility when using Carthage to install the SDK.
  • Fixed a bug which prevented automatic day and night style switching. (#1629)

Documentation is available online or within Xcode.

@JThramer JThramer released this Sep 6, 2018 · 400 commits to master since this release

Assets 2

Changes since v0.19.2:

User interface

  • While traveling on a numbered road, the route number is displayed in a shield beside the current road name at the bottom of the map. (#1576)
  • Added the shouldManageApplicationIdleTimer flag to NavigationViewController to allow applications to opt out of automatic UIApplication.isIdleTimerDisabled management. (#1591)
  • Added various methods, properties, and initializers to StatusView, allowing you to use it in a custom user interface. (#1612)
  • Added StyleManager.automaticallyAdjustsStyleForTimeOfDay, StyleManager.delegate, and StyleManager.styles properties so that you can control same time-based style switching just as NavigationViewController does. (#1617)
  • Fixed an issue where the banner was stuck on rerouting past the reroute threshold when simulating navigation. (#1583)
  • Fixed an issue where the banner appears in the wrong colors after you tap the Resume button. (#1588, #1589)
  • NavigationMapView’s user puck now responds to changes to the safe area insets while tracking the user’s location, matching the behavior of the map camera. (#1653)
  • Added StepsViewControllerDelegate and InstructionsBannerViewDelegate which makes it possible to listen in on tap events that occur in StepsViewController and InstructionsBannerView. (#1633)

Feedback

  • Added a FeedbackViewController class for soliciting feedback from the user in a custom user interface. (#1605)
  • Replaced NavigationViewControllerDelegate.navigationViewControllerDidOpenFeedback(_:) with FeedbackViewControllerDelegate.feedbackViewControllerDidOpen(_:), NavigationViewControllerDelegate.navigationViewControllerDidCancelFeedback(_:) with FeedbackViewControllerDelegate.feedbackViewController(_:didSend:uuid:), and NavigationViewControllerDelegate.navigationViewController(_:didSendFeedbackAssigned:feedbackType) with FeedbackViewControllerDelegate.feedbackViewControllerDidCancel(_:). (#1605)
  • Fixed a crash that occurred when the end of route view controller appears, showing the keyboard. (#1599)

Other changes

  • Added a MapboxVoiceController.audioPlayer property. You can use this property to interrupt a spoken instruction or adjust the volume. (#1596)
  • Fixed a memory leak when RouteController.isDeadReckoningEnabled is enabled. (#1624)

Documentation is available online or within Xcode.

@1ec5 1ec5 released this Aug 24, 2018 · 593 commits to master since this release

Assets 2

Changes since v0.19.1:

  • The MGLStyle.navigationGuidanceDayStyleURL and MGLStyle.navigationGuidanceNightStyleURL properties now return version 4 of the Mapbox Navigation Guidance Day and Night styles, respectively. These styles indicate incidents such as road closures and detours. (#1619)
  • Added an MGLMapView.showsIncidents property to toggle the visibility of any Mapbox Incidents data on a map view. (#1613)

Documentation is available online or within Xcode.

@1ec5 1ec5 released this Aug 16, 2018 · 110 commits to release-v0.19.0 since this release

Assets 2

Changes since v0.19.0:

  • Fixed build errors when installing this SDK with Mapbox Maps SDK for iOS v4.3.0 or above. (#1609)

Documentation is available online or within Xcode.

@JThramer JThramer released this Jul 27, 2018 · 599 commits to master since this release

Assets 2

Changes since v0.18.1:

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 to https://api.mapbox.cn/ to use China-optimized APIs. This setting causes NavigationMapView 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 to InstructionsBannerView.update(for:). Added the NextBannerView.update(for:) and LanesView.update(for:) methods. These methods are intended to be called in response to Notification.Name.routeControllerDidPassVisualInstructionPoint if the views are used outside a NavigationViewController. By contrast, InstructionsBannerView.updateDistance(for:) should be called on every location update. (#1514)
  • Added the ManeuverView.visualInstruction and ManeuverView.drivingSide properties. (#1514)

Documentation is available online or within Xcode.

@bsudekum bsudekum released this Jun 20, 2018 · 769 commits to master since this release

Assets 2

Changes since v0.18.0:

Packaging

  • Increased the minimum deployment target of Core Navigation to iOS 9. (#1494)

User interface

  • Added NavigationMapView.recenterMap() for recentering the map if a user gesture causes it to stop following the user. (#1471)
  • Deprecated NavigationViewController.usesNightStyleInsideTunnels. Style switching is enabled as a side effect of TunnelIntersectionManager.tunnelSimulationEnabled, which is set to true by default. ([#1489]
  • Fixed an issue where the user location view slid around after the user pressed the Overview button. #1506

Documentation is available online or within Xcode.

@bsudekum bsudekum released this Jun 5, 2018 · 896 commits to master since this release

Assets 2

Changes since v0.17.0:

User Interface

  • Added support for generic route shields. Image-backed route shields also now display as generic (instead of plain text) while the SDK loads the image. #1190, #1417
  • Fixed an issue when going into overhead mode with a short route. #1456

Core Navigation

  • TunnelIntersectionManagerDelegate methods no longer take a completion handler argument. (#1414)
  • Added the ability to render more than 1 alternate route. #1372
  • NavigationMapViewDelegate.navigationMapView(_:shapeFor:) Now expects an array of Route. The first route will be rendered as the main route, all subsequent routes will be rendered as alternate routes.
  • Animating the user through tunnels and automatically switching the map style when entering a tunnel is now on by default. #1449
  • Adds RouteControllerDelegate.routeController(_:shouldPreventReroutesWhenArrivingAt:waypoint:) which is called each time a driver arrives at a waypoint. By default, this method returns true and prevents rerouting upon arriving. Progress updates still occur. #1454

Documentation is available online or within Xcode.

@bsudekum bsudekum released this May 21, 2018 · 1043 commits to master since this release

Assets 2

Changes since v0.16.2:

Packaging

  • Upgraded to the Mapbox Maps SDK for iOS v4.0.0. If you have customized the route map’s appearance, you may need to migrate your code to use expressions instead of style functions. (#1076)
  • Added a Korean localization. (#1346)

User interface

  • Exit indications are now drawn accurately with a correct exit heading. (#1288)
  • Added the NavigationViewControllerDelegate.navigationViewController(_:roadNameAt:) method for customizing the contents of the road name label that appears towards the bottom of the map view. (#1309)
  • If the SDK tries but fails to reroute the user, the “Rerouting…” status view no longer stays visible permanently. (#1357)
  • Completed waypoints now remain on the map but are slightly translucent. (#1364)
  • Fixed an issue preventing NavigationViewController.navigationMapView(_:simplifiedShapeDescribing:) (now NavigationViewController.navigationMapView(_:simplifiedShapeFor:)) from being called. (#1413)

Spoken instructions

  • Fixed an issue causing the wrong instructions to be spoken. (#1396)

User location

  • The RouteController.routeProgress property is now available in Objective-C. (#1323)
  • Added a RouteController.tunnelSimulationEnabled option that keeps the user location indicator moving steadily while the user travels through a tunnel and GPS reception is unreliable. (#1218)

Other changes

  • DistanceFormatter, ReplayLocationManager, SimulatedLocationManager, LanesView, and ManueverView are now subclassable. (#1345)
  • Renamed many NavigationViewController and NavigationMapViewDelegate methods (#1364, #1338, #1318, #1378, #1413):
    • NavigationViewControllerDelegate.navigationViewControllerDidCancelNavigation(_:) to NavigationViewControllerDelegate.navigationViewControllerDidDismiss(_:byCanceling:)
    • -[MBNavigationViewControllerDelegate navigationViewController:didArriveAt:] to -[MBNavigationViewControllerDelegate navigationViewController:didArriveAtWaypoint:] in Objective-C
    • NavigationViewControllerDelegate.navigationMapView(_:routeStyleLayerWithIdentifier:source:) to NavigationViewControllerDelegate.navigationViewController(_:routeStyleLayerWithIdentifier:source:)
    • NavigationViewControllerDelegate.navigationMapView(_:routeCasingStyleLayerWithIdentifier:source:) to NavigationViewControllerDelegate.navigationViewController(_:routeCasingStyleLayerWithIdentifier:source:)
    • NavigationViewControllerDelegate.navigationMapView(_:shapeFor:) to NavigationViewControllerDelegate.navigationViewController(_:shapeFor:)
    • NavigationViewControllerDelegate.navigationMapView(_:simplifiedShapeFor:) to NavigationViewControllerDelegate.navigationViewController(_:simplifiedShapeFor:)
    • NavigationViewControllerDelegate.navigationMapView(_:waypointStyleLayerWithIdentifier:source:) to NavigationViewControllerDelegate.navigationViewController(_:waypointStyleLayerWithIdentifier:source:)
    • NavigationViewControllerDelegate.navigationMapView(_:waypointSymbolStyleLayerWithIdentifier:source:) to NavigationViewControllerDelegate.navigationViewController(_:waypointSymbolStyleLayerWithIdentifier:source:)
    • NavigationViewControllerDelegate.navigationMapView(_:shapeFor:legIndex:) to NavigationViewControllerDelegate.navigationViewController(_:shapeFor:legIndex:)
    • NavigationViewControllerDelegate.navigationMapView(_:didTap:) to NavigationViewControllerDelegate.navigationViewController(_:didSelect:)
    • NavigationViewControllerDelegate.navigationMapView(_:imageFor:) to NavigationViewControllerDelegate.navigationViewController(_:imageFor:)
    • NavigationViewControllerDelegate.navigationMapView(_:viewFor:) to NavigationViewControllerDelegate.navigationViewController(_:viewFor:)
    • NavigationViewControllerDelegate.navigationViewController(_:didSend:feedbackType:) to NavigationViewControllerDelegate.navigationViewController(_:didSendFeedbackAssigned:feedbackType:)
    • -[MBNavigationViewControllerDelegate navigationViewController:shouldDiscard:] to -[MBNavigationViewControllerDelegate navigationViewController:shouldDiscardLocation:] in Objective-C
    • -[MBNavigationViewControllerDelegate navigationViewController:roadNameAt:] to -[MBNavigationViewControllerDelegate navigationViewController:roadNameAtLocation:]
    • NavigationMapViewDelegate.navigationMapView(_:shapeDescribing:) to NavigationMapViewDelegate.navigationMapView(_:shapeFor:).
    • NavigationMapViewDelegate.navigationMapView(_:simplifiedShapeDescribing:) to NavigationMapViewDelegate.navigationMapView(_:simplifiedShapeFor:).
    • -[MBNavigationMapViewDelegate navigationMapView:shapeDescribingWaypoints:legIndex:] to -[MBNavigationMapViewDelegate navigationMapView:shapeForWaypoints:legIndex:] in Objective-C
  • RouteController.recordFeedback(type:description:) now returns a UUID instead of a string. Some RouteController methods have been renamed to accept UUIDs as arguments instead of strings. (#1413)
  • Renamed TunnelIntersectionManagerDelegate.tunnelIntersectionManager(_:willEnableAnimationAt:callback:) to TunnelIntersectionManagerDelegate.tunnelIntersectionManager(_:willEnableAnimationAt:completionHandler:) and TunnelIntersectionManagerDelegate.tunnelIntersectionManager(_:willDisableAnimationAt:callback:) to TunnelIntersectionManagerDelegate.tunnelIntersectionManager(_:willDisableAnimationAt:completionHandler:). (#1413)

Documentation is available online or within Xcode.

Pre-release

@1ec5 1ec5 released this Apr 25, 2018 · 1367 commits to master since this release

Assets 2

Changes since v0.16.2:

  • Upgraded to the Mapbox Maps SDK for iOS v4.0.0. If you have customized the route map’s appearance, you may need to migrate your code to use expressions instead of style functions. (#1076)
  • NavigationViewControllerDelegate.navigationViewControllerDidCancelNavigation(_:) has been superseded by NavigationViewControllerDelegate.navigationViewControllerDidEndNavigation(_:cancelled:). #1318
  • RouteController’s routeProgress is now exposed to Objective-C. #1323
  • Exit indications are now drawn accurately with a correct exit bearing. #1288
  • Added a delegate method, NavigationViewControllerDelegate.navigationViewController(_:roadNameAt:) which allows you to customize the contents of the road name label displayed towards the bottom of the map view. #1309

To install this prerelease via CocoaPods, point your Podfile to both of these URLs:

pod 'MapboxCoreNavigation', :podspec => 'https://raw.githubusercontent.com/mapbox/mapbox-navigation-ios/v0.17.0-beta.1/MapboxCoreNavigation.podspec'
pod 'MapboxNavigation', :podspec => 'https://raw.githubusercontent.com/mapbox/mapbox-navigation-ios/v0.17.0-beta.1/MapboxNavigation.podspec'

Or point your Cartfile to this tag:

github "mapbox/mapbox-navigation-ios" "v0.17.0-beta.1"

Documentation is available online or within Xcode.