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

macos-v0.14.0

Compare
Choose a tag to compare
@1ec5 1ec5 released this 23 May 20:13
· 1617 commits to master since this release

This version of the Mapbox Maps SDK for macOS corresponds to version 5.0.0 of the Mapbox Maps SDK for iOS. Changes since macos-v0.13.0:

Styles and rendering

  • Client-side text rendering of CJK ideographs is now enabled by default. (#13988)
  • Added an MGLStyle.performsPlacementTransitions property to control how long it takes for colliding labels to fade out. (#13565)
  • Added the -[MGLShapeSource leavesOfCluster:offset:limit:], -[MGLShapeSource childrenOfCluster:], -[MGLShapeSource zoomLevelForExpandingCluster:] methods for inspecting a cluster in an MGLShapeSources created with the MGLShapeSourceOptionClustered option. Feature querying now returns clusters represented by MGLPointFeatureCluster objects (that conform to the MGLCluster protocol). (#12952
  • Fixed a crash when casting large numbers in NSExpression. (#13580)
  • Fixed an issue that caused MGL_FUNCTION to ignore multiple formatting parameters when passed a format function as parameter. (#14064)
  • Added mgl_attributed: expression operator, which concatenates MGLAttributedExpression objects for specifying rich text in the MGLSymbolStyleLayer.text property. (#14094)
  • Fixed an issue that caused conditional expressions to crash when passed nested conditional expressions as parameters. (#14181)
  • Fixed a possible crash with certain expressions containing arguments that evaluate to a dictionary containing NSArray or NSNumber values. (#14352)
  • Fixed a bug where non-opaque NSColor values were ignored when assigned to a style layer color property. (#14406)
  • Fixed a bug where some layers weren’t rendering correctly after panning. (#14527)
  • Changed placement order of MGLSymbolStyleLayer to match the viewport-y order when MGLSymbolStyleLayer.symbolZOrder is set to MGLSymbolZOrderViewportY, allowing icons to overlap but not text. (#14486)

Other changes

  • Added Czech and Galician localizations. (#13782, #14095)
  • Added MGLNetworkConfiguration class to customize the SDK’s NSURLSessionConfiguration object. (#13886)
  • Fixed a bug with MGLMapView.visibleAnnotations that resulted in incorrect results and performance degradation. (#13745)
  • Fixed a bug where selecting partially on-screen annotations (without a callout) would move the map. (#13727)
  • Fixed a bug that caused offline packs created prior to v0.7.0 (introduced in #11055) to be marked as MGLOfflinePackStateInactive. (#14188)

Documentation is available online or as part of the download.