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.3.0-beta.1
This release changes how offline tile requests are billed — they are now billed on a pay-as-you-go basis and all developers are able raise the offline tile limit for their users. Offline requests were previously exempt from monthly active user (MAU) billing and increasing the offline per-user tile limit to more than 6,000 tiles required the purchase of an enterprise license. By upgrading to this release, you are opting into the changes outlined in this blog post and #15380.
Styles and rendering
- Fixed flickering on style change for the same tile set. (#15127)
- Fixed performance issues when tilting a map with custom content insets. (#15195)
- Fixed an issue where animated camera transitions zoomed in or out too dramatically. (#15281)
- Enabled variable label placement when
MGLSymbolStyleLayer.textAllowsOverlap
is set to true. (#15354) - Added the
MGLSymbolStyleLayer.textWritingModes
layout property. This property can be set toMGLTextWritingModeHorizontal
orMGLTextWritingModeVertical
. (#14932) - Fixed rendering and collision detection issues with using
MGLSymbolStyleLayer.textVariableAnchor
andMGLSymbolStyleLayer.iconTextFit
properties on the same layer. (#15367) - Fixed symbol overlap when zooming out quickly. (15416)
Other changes
- Fixed a bug where glyphs generated through the LocalGlyphRasterizer interface were changing fonts during some zoom changes. (#15407)
- Fixed use of objects after moving, potentially causing crashes. (#15408)
- Fixed a possible crash that could be caused by invoking the wrong layer implementation casting function. (#15398)
- Fixed a rare crash when tile download requests returned “404 Not Found” errors. (#15313)
MGLLoggingLevel
has been updated to better match core log levels. You can now useMGLLoggingConfiguration.loggingLevel
to filter logs from core. (#15120)- Fixed an issue where the scale bar could show
0 mm
instead of0
. (#15381)
Recent changes
See the full changelog for previous releases.