This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
ios-v4.6.0
Changes since Mapbox Maps SDK for iOS v4.5.0:
Styles and rendering
- Added the ability to style symbol layers labels with multiple fonts and text sizes via the
format
expression operator. (#12624) - Fixed a crash when using the
MGL_LET
,MGL_MATCH
,MGL_IF
, orMGL_FUNCTION
functions without a colon inside anNSExpression
orNSPredicate
format string. (#13189) - Fixed a crash setting the
MGLLineStyleLayer.lineGradient
property to an expression containing the$lineProgress
variable. Added anNSExpression.lineProgressVariableExpression
class property that returns an expression for the$lineProgress
variable. (#13192) - Fixed an issue where feature querying would fail for symbols that set both
MGLSymbolStyleLayer.iconRotation
andMGLSymbolStyleLayer.iconOffset
. (#13105) - Fixed an issue where polygons crossing tile boundaries could be improperly clipped. (#13231)
- Fixed improper wrapping of ±180° longitude values in
MGLCoordinateBounds
. (#13006)
Offline maps
- Added prioritization of user-interactive resource requests, over offline requests. (#13019)
- Added the
-[MGLOfflineStorage putResourceWithUrl:data:modified:expires:etag:mustRevalidate:]
method to allow pre-warming of the ambient cache. (#13022)
Other changes
- Fixed an issue where snapshots had the wrong heading and pitch. (#13123)
- Fixed an issue where
-[MGLMapViewDelegate mapView:shouldChangeFromCamera:toCamera:]
was called with an incorrectly rotatednewCamera
when the user rotated the map. (#13123)
Documentation is available online or as part of the download.