Skip to content

Latest commit

 

History

History
99 lines (74 loc) · 9.42 KB

CHANGELOG.md

File metadata and controls

99 lines (74 loc) · 9.42 KB

Changelog

iOS 2.1.0

  • A two-finger vertical swipe now tilts the map into perspective mode. (#2116)
  • A new MGLMapCamera API allows you to transition multiple viewpoint properties, including rotation and pitch, simultaneously with an optional custom duration and timing function. (#2193)
  • A new user tracking mode, MGLUserTrackingModeFollowWithCourse, has been added for indicating the current direction of travel. (#2068)
  • Version 8 (v8) of the Mapbox GL style spec is now required. If you are using a custom v7 style, it needs to be upgraded using this migrator script. (#2052)
  • Applications built with Mapbox GL no longer crash when Location Services launches them in background mode. (#1821, #1869)
  • Fixed a crash when adding annotations to an MGLMapView inside -viewDidLoad. (#1874)
  • The user location annotation view now indicates the location reading’s accuracy and the device’s heading. (#2010)
  • Eliminated linker warnings and errors when building against the iOS 9.0 SDK in Xcode 7. (#1962)
  • Worked around a bug in the iOS 9.0 SDK that caused a crash on launch. (#1958)
  • User location tracking no longer sends MGLMapView into an invalid region on iOS 9. (#1925)
  • Eliminated console spew in the iOS demo application that was related to Mapbox Metrics HTTP requests. (#1937)
  • Implemented -[MGLMapView showAnnotations:animated:]. (#2050)
  • Fixed a crash adding a shape annotation with zero points. (#2098)
  • Debug mode now displays information useful for debugging the label collision algorithm. (#1808)
  • Minor style updates. (#1910)
  • The CocoaPods pod now contains a README.md file. (#1886)

iOS 2.0.0

Repackaging 2.0.0-pre.1 as it contained no issues.

iOS 2.0.0-pre.1

Repackaging 0.5.1 as the Mapbox iOS SDK 2.0.0 series.

0.5.1

iOS

  • Added support for CocoaPods 0.38.0. (#1876)

0.5.0

Core

  • Support for runtime marker imagery. (#941)
  • Added Map::fitBounds() for region-based viewport setting. (#1092)
  • Added a raster satellite bundled style and improved raster rendering. (#963)
  • Improved round line joins for semi-transparent lines. (#1839)
  • Improved map render lifecycle notifications. (#1026)
  • Fixed a bug that caused annotations not to show at zoom level zero. (#1279)
  • Fixed a bug with the ordering of shape layers. (#1866)
  • Other bug fixes and performance improvements.

iOS

  • Breaking: Headers now make use of lightweight generics, eliminating many unnecessary casts when working with annotations in Swift 2.0 in Xcode 7. (#1711)
  • Breaking: -mapView:symbolNameForAnnotation: has been removed from the MGLMapViewDelegate protocol. Implement -mapView:imageForAnnotation: instead, which accepts images at runtime. (#941)
  • Breaking: MGLMapView.direction is now expressed in terms of degrees clockwise from true north, as indicated in the documentation, rather than counterclockwise. (#1789)
  • A Satellite style showing Mapbox Satellite imagery is now bundled with Mapbox GL. (#1845)
  • Improved UIView tracking to the map. (#1813)
  • Delegate method -[MGLMapViewDelegate mapView:didFailToLocateUserWithError:] now works. (#1608)
  • It is now possible to fit the map’s viewport to a coordinate bounding box via -[MGLMapView setVisibleCoordinateBounds:animated:] or to a specific set of coordinates via -[MGLMapView setVisibleCoordinates:count:edgePadding:animated:]. (#1783, #1795)
  • The logo and ℹ️ no longer disappear or get distorted after embedding MGLMapView in a different view, and you can now access these subviews directly via properties on MGLMapView. (#1779, #1815)
  • Raster tiles now look sharper midway between two zoom levels. (#1843)
  • Resetting the map rotation to north no longer also resets the user location tracking mode. (#1809)
  • -[MGLMapView convertPoint:toCoordinateFromView:] now returns accurate coordinates on iPhone 6. (#1827)
  • Fixed an issue in which -[MGLMapView direction] would sometimes return 360 instead of 0. (#1829)
  • Build against iOS 8.4. (#1868)

0.4.0

Core

  • Support for polyline and polygon shape annotations. (#1655)
  • Improved placement and density of labels. (#1666, blog)
  • Improved z-ordering appearance of point markers. (#988)
  • Fixed an issue in which certain features, such as roundabouts, were not rendered completely. (#1725)
  • Many bug fixes and performance and stability improvements.
  • Improved tests.

iOS

  • Breaking: MGLMapView no longer manages Mapbox access tokens directly; an access token cannot be passed in when initializing the map view. Instead, set MGLMapboxAccessToken to your access token in your app’s Info.plist file, or call +[MGLAccountManager setAccessToken:] before initializing the map view. If you were setting the access token inside an Interface Builder inspectable, also remove it from the User Defined Runtime Attributes section of the Identity inspector. (#1553)
  • Breaking: MGLAccountManager's -setMapboxMetricsEnabledSettingShownInApp: has been removed. If you implement a Mapbox Metrics switch inside your app, instead of inside a Settings bundle, set MGLMapboxMetricsEnabledSettingShownInApp to YES in the Info.plist file. (#1553)
  • Breaking: MGLMapView's -mapID has been renamed to -styleID. (#1561)
  • Headers have been audited for nullability, improving type safety in both Objective-C and Swift 1.2 when compiling with Xcode 6.3 or above. (#1578)
  • Fixed an issue in which the map would sometimes spin 180° while rotating the map with two fingers. (#1453)
  • Added a shortcut to the Mapbox Metrics switch in MGLMapView's action sheet that is attached to the ℹ️ button. (#1611)
  • MGLMapView now supports Interface Builder designables. When you add an MGLMapView to a storyboard, it displays instructions for getting set up directly on the storyboard canvas. (#1573)
  • The default title for the user location annotation is now “You Are Here”. You can customize the title by setting mapView.userAnnotation.title. (#1559)
  • Internal use of the Reachability library has been cleaned up so that your app can include its own copy of Reachability. (#1718)
  • Now distribute a binary stripped of debugging symbols by default with an optional, secondary symbols build. (#1650)

0.3.1

  • Temporarily removed IBDesignable support on iOS.

0.3.0

  • Initial iOS beta release.

Known issues:

  • None.