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

ios-v4.2.0

Compare
Choose a tag to compare
@MapboxCI MapboxCI released this 18 Jul 17:12
· 3142 commits to master since this release

Changes since Mapbox Maps SDK for iOS v4.1.0:

Packaging

  • When integrating this framework using CocoaPods, the included bcsymbolmap files are now preserved. If you have bitcode enabled and you are seeing incorrectly symbolicated crash logs, you should create a build phase in your Xcode project that copies these bcsymbolmap files to your app’s Products Directory when installing. (#12257)

Styles and rendering

  • Added an MGLRasterStyleLayer.rasterResamplingMode property for configuring how raster style layers are overscaled. (#12176)
  • -[MGLStyle localizeLabelsIntoLocale:] and -[NSExpression mgl_expressionLocalizedIntoLocale:] can automatically localize labels into Japanese or Korean based on the system’s language settings. (#12286)
  • The c and d options are supported within comparison predicates for case and diacritic insensitivity, respectively. (#12329)
  • Added the collator and resolved-locale expression operators to more precisely compare strings in style JSON. A subset of this functionality is available through predicate options when creating an NSPredicate. (#11869)
  • Fixed a crash when trying to parse expressions containing legacy filters. (#12263)
  • Fixed a crash that occurred when creating an MGL_MATCH expression using non-expressions as arguments. (#12332)

Networking and storage

  • Improved caching performance. (#12072)

Other changes

  • Added -[MGLMapView camera:fittingShape:edgePadding:] and -[MGLMapView camera:fittingCoordinateBounds:edgePadding:] allowing you specify the pitch and direction for the calculated camera. (#12213)
  • Added -[MGLMapSnapshot coordinateForPoint:] that returns a map coordinate for a specified snapshot image point. (#12221)
  • Reduced memory usage when collision debug mode is disabled. (#12294)
  • Fixed a bug with annotation view touch handling when a non-zero centerOffset is specified. (#12234)

Documentation is available online or as part of the download.