The Mapbox iOS SDK is an open-source framework for embedding interactive map views with scalable, customizable vector maps into Cocoa Touch applications on iOS 8.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 iOS SDK homepage. For detailed usage instructions, read “First steps with the Mapbox iOS SDK” and consult the online examples. A full changelog is also available.
Changes in version 3.6.3
- Added the option to display an always-on heading indicator with the default user location annotation, controlled via the
- Fixed an issue where user heading tracking mode would update too frequently. (#9845)
- Added support for iOS 11 location usage descriptions. (#9869)
- Fixed an issue where
MGLUserLocation.locationdid not follow its documented initialization behavior. This property will now properly return
niluntil the user’s location has been determined. (#9639)
maximumZoomLevelproperties are now available in Interface Builder’s Attributes inspector. (#9729)
+[MGLStyle trafficNightStyleURL]with no replacement method. To use the Traffic Day and Traffic Night styles going forward, we recommend that you use the underlying URL. (#9918)
- Fixed a crash that sometimes occurred when a map view’s view controller was deallocated. (#9995)