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

ios-v4.0.0-beta.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@1ec5 1ec5 released this 26 Jan 22:07
· 3915 commits to master since this release
306898d

Changes since Mapbox iOS SDK v3.7.3:

Packaging

  • Removed support for 32-bit simulators. (#10962)
  • Added a Hebrew localization. (#10967)

Styles and rendering

  • The layout and paint properties on subclasses of MGLStyleLayer are now of type NSExpression instead of MGLStyleValue. A new “Predicates and Expressions” guide provides an overview of the supported operators. (#10726)
  • Added an MGLComputedShapeSource class that allows applications to supply vector data to a style layer on a per-tile basis. (#9983)
  • A style can now display smooth hillshading and customize its appearance at runtime using the MGLHillshadeStyleLayer class. Hillshading is based on a rasterized digital elevation model supplied by the MGLRasterDEMSource class. (#10642)
  • The MGLSymbolStyleLayer.textFontNames property can now depend on a feature’s attributes. (#10850)

Map rendering

  • Improved the reliability of collision detection between symbols near the edges of tiles, as well as between symbols when the map is tilted. It is no longer necessary to enable MGLSymbolStyleLayer.symbolAvoidsEdges to prevent symbols in adjacent tiles from overlapping with each other. (#10436)
  • Symbols can fade in and out as the map pans, rotates, or tilts. (#10436)
  • Properties such as MGLSymbolStyleLayer.iconAllowsOverlap and MGLSymbolStyleLayer.iconIgnoresPlacement now account for symbols in other sources. (#10436)
  • Fixed an issue preventing a dynamically-added MGLRasterStyleLayer from drawing until the map pans. (#10270)
  • Fixed an issue preventing MGLImageSources from drawing on the map when the map is zoomed in and tilted. (#10677)
  • Improved the sharpness of raster tiles on Retina displays. (#10984)
  • Fixed a crash parsing a malformed style. (#11001)

Annotations

  • Fixed an issue preventing MGLAnnotationImage.image from being updated. (#10372)
  • Improved performance of MGLAnnotationView-backed annotations that have scalesWithViewingDistance enabled. (#10951)

Map snapshots

  • Fixed a memory leak that occurred when creating a map snapshot. (#10585)
  • Fixed an issue that caused MGLMapSnapshotter.pointForCoordinate to return an incorrect value. (#11035)

Other changes

  • Feature querying results now account for the MGLSymbolStyleLayer.circleStrokeWidth property. (#10897)
  • Fixed an issue preventing labels from being transliterated when VoiceOver was enabled on iOS 10.x and below. (#10881)
  • Labels are now transliterated from more languages when VoiceOver is enabled. (#10881)
  • Long-pressing the attribution button causes the SDK’s version number to be displayed in the action sheet that appears. (#10650)

To install this prerelease via CocoaPods, point your Podfile to either of these URLs:

Documentation is available online or as part of the download.