Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

ios-v5.4.0

Compare
Choose a tag to compare
@MapboxCI MapboxCI released this 25 Sep 23:22
· 955 commits to master since this release
220a406

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 current CGContext in order to perform custom drawing on MGLMapSnapshot objects. (#15530)
  • Fixed an issue that caused MGLTileSourceOptionMaximumZoomLevel to be ignored when setting MGLTileSource.configurationURL. (#15581)
  • Fixed an assertion caused by adding a layer to an incompatible source. (#15644)
  • Fixed crashes triggered when MGLSource and MGLStyleLayer 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 or MGLSymbolStyleLayer.iconTranslation were used. (#15467)
  • Enabled use of MGLSymbolStyleLayer.textOffset option together with MGLSymbolStyleLayer.textVariableAnchor (if MGLSymbolStyleLayer.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 the contentInset property in the completion handler.
  • Ornaments layout does not respect the contentInset property. (#15584)

Documentation is available online or as part of the download.