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.5.0
Performance improvements
- Improved rendering performance for the styles with multiple sources (#15756)
Styles and rendering
- Added an
MGLShapeSourceOptionClusterProperties
option that allows styling individual clusters based on aggregated feature data. (#15515)
Other changes
- Added
-[MGLMapSnapshotOverlay coordinateForPoint:]
and-[MGLMapSnapshotOverlay pointForCoordinate:]
to convert between context and map coordinates, mirroring those ofMGLMapSnapshot
. (#15746) - Suppress network requests for expired tiles update, if these tiles are invisible. (#15741)
- Fixed an issue that cause the ornaments to ignore
MGLMapView.contentInset
property. (#15584) - Fixed an issue that cause
-[MGLMapView setCamera:withDuration:animationTimingFunction:edgePadding:completionHandler:]
persist the value ofedgePadding
. (#15584) - Added
MGLMapView.automaticallyAdjustsContentInset
property that indicates if wether the map view should automatically adjust its content insets. (#15584) - Fixed an issue that caused
MGLScaleBar
to have an incorrect size when resizing or rotating. (#15703) - Fixed crash at launch seen on iOS 9 simulator. (#15771)
- Coalesce requests to the client for the same missing image (#15778)
Recent changes
See the full changelog for previous releases.