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.2.0-beta.1
** This release supports beta versions of iOS 14. **
✨ New features
- Added
MGLLocationManager.accuracyAuthorization
to check the level of accuracy the app is allowed to support. (#361) - Added
[MGLLocationManager requestTemporaryFullAccuracyAuthorizationWithPurposeKeyproperty:]
to allow developers request just-in-time full-accuracy permissions. (#361) - Added
[MGLLocationManagerDelegate locationManagerDidChangeAuthorization:]
to letMGLMapView
know about privacy changes. (#376) - Added
[MGLMapViewDelegate mapView:didChangeLocationManagerAuthorization:]
to allow developers adjust their apps to privacy settings changes. (#376) - Added an approximate user location halo when
MGLLocationManager.accuracyAuthorization
is set toCLAccuracyAuthorizationReducedAccuracy
. (#381) - The
MGLAccuracyAuthorizationDescription
as element ofNSLocationTemporaryUsageDescriptionDictionary
Info.plist key can now be set to describe why you request accuracy authorization. (#392) - Added
[MGLMapViewDelegate mapViewStyleForDefaultUserLocationAnnotationView:]
andMGLUserLocationAnnotationViewStyle
class to allow developers customize the default user location annotation view UI style. (#403) - Added
MGLNetworkConfiguration.connected
property to enforceMGLMapView
to use cached tiles. (#416) - Enabled local glyph rasterization for all writing systems. The new feature uses real glyph metrics and improves rendering quality for mixed (Latin / CJKV) labels. (#561)
- Minimum and Maximum allowed values are now considered for style layer properties, as defined by the specification. Tf a style property is assigned with a value outside the allowed range, the property gets assigned with its default value instead. (#647)
🐞 Bug fixes
- Fixed an issue where the map would hang periodically (on iOS 14 beta). (#411)
- Fixed a sporadic crash when the application
resigns active
, for example, when showing Control Center. (#412)
🔧 Dependencies
- Core library updated to
4.0.0
. (#417) mapbox-events-ios
updated to version 0.10.2 to avoid a compilation issue in earlier versions of Xcode.
Recent changes
See the full changelog for previous releases.