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. A full changelog is also available.
If you have any questions, please see our help page. We welcome your bug reports, feature requests, and contributions.
Changes in version 4.3.0
Styles and rendering
- Added an
MGLMapView.preferredFramesPerSecond
property that controls the rate at which the map view is rendered. The default rate now adapts to device capabilities to provide a smoother experience. (#12501) - Token string syntax (
"{token}"
) inMGLSymbolStyleLayer
text
andiconImageName
properties is now correctly converted to the appropriateNSExpression
equivalent. (#11659) - Fixed a crash when switching between two styles having layers with the same identifier but different layer types. (#12432)
- Added a new option to
MGLSymbolPlacement
,MGLSymbolPlacementLineCenter
, that places the label relative to the center of the geometry. (#12337)