This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
macos-v0.9.0
This version of the Mapbox Maps SDK for macOS corresponds to version 4.2.0 of the Mapbox Maps SDK for iOS. Changes since macos-v0.8.0:
Styles and rendering
- Added an
MGLRasterStyleLayer.rasterResamplingMode
property for configuring how raster style layers are overscaled. (#12176) -[MGLStyle localizeLabelsIntoLocale:]
and-[NSExpression mgl_expressionLocalizedIntoLocale:]
can automatically localize labels into Japanese or Korean based on the system’s language settings. (#12286)- The
c
andd
options are supported within comparison predicates for case and diacritic insensitivity, respectively. (#12329) - Added the
collator
andresolved-locale
expression operators to more precisely compare strings in style JSON. A subset of this functionality is available through predicate options when creating anNSPredicate
. (#11869) - Fixed a crash in
-[MGLStyle localizeLabelsIntoLocale:]
on macOS 10.11. (#12123) - Fixed a crash that occurred when creating an
MGL_MATCH
expression using non-expressions as arguments. (#12332) - Fixed a crash when trying to parse expressions containing legacy filters. (#12263)
Other changes
- Added
-[MGLMapView camera:fittingShape:edgePadding:]
and-[MGLMapView camera:fittingCoordinateBounds:edgePadding:]
allowing you specify the pitch and direction for the calculated camera. (#12213) - Added
-[MGLMapSnapshot coordinateForPoint:]
that returns a map coordinate for a specified snapshot image point. (#12221) - Fixed an issue where
-[MGLMapShapshot pointForCoordinate:]
returned incorrect points. (#12221) - Improved caching performance. (#12072)
- Remove unnecessary memory use when collision debug mode is disabled. (#12294)
Documentation is available online or as part of the download.