This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
macos-v0.13.0
This version of the Mapbox Maps SDK for macOS corresponds to version 4.7.0 of the Mapbox Maps SDK for iOS. Changes since macos-v0.12.0:
Packaging
- This SDK’s dynamic framework now has a bundle identifier of
com.mapbox.Mapbox
. (#12857) MGLMapView
,MGLShapeOfflineRegion
, andMGLTilePyramidOfflineRegion
now default to version 11 of the Mapbox Streets style. Similarly, several class properties ofMGLStyle
, such asMGLStyle.lightStyleURL
, have been updated to return URLs to new versions of their respective styles. (#13585)
Styles and rendering
- Fixed an issue where the
{prefix}
token in tile URL templates was evaluated incorrectly when requesting a source’s tiles. (#13429) - Added an
-[MGLStyle removeSource:error:]
method that returns a descriptive error if the style fails to remove the source, whereas-[MGLStyle removeSource:]
fails silently. (#13399) - Added the
MGLFillExtrusionStyleLayer.fillExtrusionHasVerticalGradient
property. (#13463) - Added support for setting
MGLCollisionBehaviorPre4_0
inNSUserDefaults
. (#13426) -[MGLStyle localizeLabelsIntoLocale:]
and-[NSExpression(MGLAdditions) mgl_expressionLocalizedIntoLocale:]
can automatically localize styles that use version 8 of the Mapbox Streets source. (#13481)- Fixed symbol flickering during instantaneous transitions. (#13535)
- Fixed a crash when specifying
MGLShapeSourceOptionLineDistanceMetrics
when creating anMGLShapeSource
. (#13543)
Other changes
- Renamed
-[MGLOfflineStorage putResourceWithUrl:data:modified:expires:etag:mustRevalidate:]
to-[MGLOfflineStorage preloadData:forURL:modificationDate:expirationDate:eTag:mustRevalidate:]
. (#13318) MGLMapSnapshotter
now respects theMGLIdeographicFontFamilyName
key in Info.plist, which reduces bandwidth consumption when snapshotting regions that contain Chinese or Japanese characters. (#13427)- Added
MGLLoggingConfiguration
andMGLLoggingBlockHandler
that handle error and fault events produced by the SDK. (#13235)
Documentation is available online or as part of the download.