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 5.1.0
Styles and rendering
- Fixed a crash when a fill pattern in a style could not be found. (#14696)
- Setting
MGLMapView.contentInset
now moves the map’s focal point to the center of the content frame after insetting. (#14664) - Fixed a rendering performance regression when rendering polylines. (#14851)
- Fixed a rendering performance regression introduced in 4.11.0. (#14907)
- Fixed an issue where symbols underneath opaque fill layers could be incorrectly drawn above such layers. (#14839)
- Fixed an issue where
MGLFillExtrusionStyleLayer
vertical gradients might not be rendered. (#14808)
Other changes
- The
-[MGLMapView setCamera:withDuration:animationTimingFunction:edgePadding:completionHandler:]
method now adds the current value of theMGLMapView.contentInset
property to theedgePadding
parameter. (#14813) - Fixed a feature querying bug caused by incorrect sort feature index calculation. (#14884)
Recent changes
See the full changelog for previous releases.