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

ios-v5.8.0-alpha.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@MapboxCI MapboxCI released this 10 Mar 07:15
· 132 commits to master since this release

Changes since Mapbox Maps SDK for iOS v5.7.0:

Styles and rendering

  • Added the in expression function for testing whether a value is included in an array expression or whether a string is a substring of another string. Use this function in expressions in style JSON or with the MGL_FUNCTION() syntax in an NSExpression format string. (#16162)
  • Added the within expression function for testing whether the evaluated feature lies within the given GeoJSON object. Use this function in expressions in style JSON or with the MGL_FUNCTION() syntax in an NSExpression format string. (#16157)
  • Added the MGLLineStyleLayer.lineSortKey and MGLFillStyleLayer.fillSortKey properties. (#179, #16194, #16220)
  • The -[MGLStyle localizeLabelsIntoLocale:] and -[NSExpression mgl_expressionLocalizedIntoLocale:] methods can now localize text into Traditional Chinese and Vietnamese. (#173)
  • Fixed an issue where an MGLLineStyleLayer.lineDashPattern value of {1, 0} resulted in hairline gaps. (#16202)
  • Improved the performance of loading a style that has many style images. (#16187)

Other changes

  • Fixed issues where an offline pack would stop downloading before completion. (#16230, #16240)
  • When an offline pack encounters an HTTP 404 error, the MGLOfflinePackUserInfoKeyError user info key of the MGLOfflinePackErrorNotification now indicates the resource that could not be downloaded. (#16240)
  • Fixed a memory leak when zooming with any options enabled in the MGLMapView.debugMask property. (#15179)

To install this pre-release via a dependency manager, see our CocoaPods or Carthage instructions.

Documentation is available online or as part of the download.