This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
macos-v0.14.0
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 anMGLShapeSource
s created with theMGLShapeSourceOptionClustered
option. Feature querying now returns clusters represented byMGLPointFeatureCluster
objects (that conform to theMGLCluster
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 aformat
function as parameter. (#14064) - Added
mgl_attributed:
expression operator, which concatenatesMGLAttributedExpression
objects for specifying rich text in theMGLSymbolStyleLayer.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
orNSNumber
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 whenMGLSymbolStyleLayer.symbolZOrder
is set toMGLSymbolZOrderViewportY
, allowing icons to overlap but not text. (#14486)
Other changes
- Added Czech and Galician localizations. (#13782, #14095)
- Added
MGLNetworkConfiguration
class to customize the SDK’sNSURLSessionConfiguration
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.