This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
ios-v5.4.0
Please reach out to Mapbox Support if you have any questions regarding the new iOS 13 location dialog that appears when NSLocationAlwaysAndWhenInUseUsageDescription
is set.
Changes since Mapbox Maps SDK for iOS v5.3.2:
Styles and rendering
- Added an
-[MGLMapSnapshotter startWithOverlayHandler:completionHandler:]
method to provide the snapshot's currentCGContext
in order to perform custom drawing onMGLMapSnapshot
objects. (#15530) - Fixed an issue that caused
MGLTileSourceOptionMaximumZoomLevel
to be ignored when settingMGLTileSource.configurationURL
. (#15581) - Fixed an assertion caused by adding a layer to an incompatible source. (#15644)
- Fixed crashes triggered when
MGLSource
andMGLStyleLayer
objects are accessed after having been invalidated after a style change. (#15539) - Fixed an issue where the collision boxes for symbols would not be updated when
MGLSymbolStyleLayer.textTranslation
orMGLSymbolStyleLayer.iconTranslation
were used. (#15467) - Enabled use of
MGLSymbolStyleLayer.textOffset
option together withMGLSymbolStyleLayer.textVariableAnchor
(ifMGLSymbolStyleLayer.textRadialOffset
option is not provided). (#15542) - Fixed an issue that caused constant repainting for sources with invisible layers. (#15600)
User interaction
- Fixed an issue that caused the tilt gesture to trigger too easily and conflict with pinch or pan gestures. (#15349)
- Fixed an issue that caused the map to rotate too easily during a pinch gesture. (#15562)
Performance improvements
- Improved offline region download performance by batching certain database activities. (#15521)
- Newly loaded labels appear faster on the screen. (#15308)
Other changes
- Fixed a bug where the completion block passed to
-[MGLMapView flyToCamera:completionHandler:]
(and related methods) wouldn't be called. (#15473) - Fixed a crash when offline pack invalidation happened on different threads. (#15582)
- Fixed a potential integer overflow at high zoom levels. (#15560)
- Fixed a bug with annotation view positions after camera transitions. (#15122)
Known issues
- Edge padding is persisted when set through
[MGLMapView setCamera:withDuration:animationTimingFunction:edgePadding:completionHandler:]
. (#15233)
Workaround: Manually set thecontentInset
property in the completion handler. - Ornaments layout does not respect the contentInset property. (#15584)
Documentation is available online or as part of the download.