Mapbox Maps SDK for iOS

The Mapbox Maps SDK for iOS is an open-source framework for embedding interactive map views with scalable, customizable vector maps into Cocoa Touch applications on iOS 9.0 and above using Objective-C, Swift, or Interface Builder. It takes stylesheets that conform to the Mapbox Style Specification, applies them to vector tiles that conform to the Mapbox Vector Tile Specification, and renders them using OpenGL.

Mapbox Maps SDK for iOS screenshots

For setup information, check out the Mapbox Maps SDK for iOS homepage. For detailed usage instructions, read “First steps with the Mapbox Maps SDK for iOS” and consult the online examples.

If you have any questions, please see our help page. We welcome your bug reports, feature requests, and contributions.

Changes in version 5.6.1

Recent changes

5.6.0

This release includes a known issue where the binary size has increased. (#63)

Packaging

  • Integrates MapboxMobileEvents as a dependency (#60). As a result, the following installation processes have changed:
    • CocoaPods: You now must include use frameworks! in your Podfile.
    • Carthage: Specify github "mapbox/mapbox-events-ios" == 0.10.2 in your Cartfile. Additionally, please note that if you are using --no-use-binaries, the MapboxMobileEvents.framework will still be installed as a dynamic framework.
    • Manual installation: New Github release artifact (mapbox-ios-sdk-5.6.0-beta.1-dynamic-with-events.zip) contains the MapboxMobileEvents.framework; please install this along with Mapbox.framework

Networking and storage

  • Make network requests for expired resources lower priority than requests for new resources. (#15950)

Bug fixes

  • Fixed the rendering bug caused by redundant pending requests for already requested images #15864
  • Enable incremental vacuum for the offline database in order to make data removal requests faster and to avoid the excessive disk space usage (creating a backup file on VACUUM call). (#15837)
  • Fix ornaments’ view constraints bug when devices change to bold-text mode. (#57)
  • Fixed MGLShapeSource source flickering on style transition. (#15907)
  • Fixed flickering caused by unnecessary removing and re-adding of the render sources when the order of their corresponding style objects was changed in the updated style (#15941)
  • Fixed a crash when MGLSymbolStyleLayer.textFontSize is set to an expression that evaluates to 0. (#16080)

Other changes

  • Convert GeoJSON features to tiles for the loaded source description in a background thread and thus unblock the UI thread (#15885)

See the full changelog for previous releases.