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.
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 6.0.0
This major release does not include any breaking changes to public APIs. We are treating this release as a SEMVER major change because our installation instructions have changed.
Distribution Updates
Standard installation methods still apply – we will continue to support SDK installation via CocoaPods, Carthage, and manual integration. However, you are now required to authenticate installation with a new access token. For more information about this new process, view our installation guide.
Licensing Updates
Release v6.0.0 updates the Mapbox Maps SDK for iOS to use a pre-built GL Native binary rather than building from source as a submodule dependency. GL Native is changing some of its development workflows to build some Mapbox platform-specific features internally, similar to Chrome/Chromium development. Please refer to the README.md and/or DEVELOPING.md for guidance.
Starting today, new binary releases of GL Native are licensed under the Mapbox Terms of Service. The Mapbox Maps SDKs repos will continue to be public and licensed under BSD-2.
If you have any questions about how this change may impact your use of the Maps SDK, please don’t hesitate to reach out to Mapbox Support to connect with the Mapbox mobile team.
✨ New features
- Added support for the
hash
expression operator that generates a hash value for the given string. Use this function in expressions in style JSON or with theMGL_FUNCTION()
syntax in anNSExpression
format string. (#326) - Improved the performance of the
mgl_distance:
expression function (distance
expression operator in JSON). (#326)
🐞 Bug fixes
- Fixed an issue where symbols flickered when zooming out. (mapbox/mapbox-gl-native#16471, #273)
- Fixed a potential crash when switching from a style with many layers to an empty style. (mapbox/mapbox-gl-native#16480)
- Fixed a potential memory leak when using VoiceOver. (mapbox/mapbox-gl-native-ios#318)
Recent changes
See the full changelog for previous releases.