This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
ios-v3.4.0-alpha.5
Pre-release
Pre-release
·
6951 commits
to master
since this release
Changes since ios-v3.4.0-alpha.4:
Styles and data
- Fixed a crash that occurred when getting or setting a style layer predicate that contains various numeric types such as
NSInteger
. (#6290) - A style layer’s predicate can now use the
IN
andBETWEEN
operators, compare a property tonil
, or always evaluate toYES
orNO
. (#6405) - Setting a layout attribute on a style layer, such as
visibility
, causes the affected map tiles to immediately redraw. (#6201) - Added options to MGLRasterSource and MGLVectorSource for specifying the tile sets to display and restricting the tile sets to certain zoom levels. (#6316)
- Fixed an issue causing stepwise zoom functions to be misinterpreted. (#6328)
- Fixed an issue causing the text inside highway shields to tilt as the map tilts. (#6253)
- Clarified the documentation of MGLGeoJSONSource option units to help make it easier to understand the intention of these options and their effect when clustering is enabled. (#6411)
- Some initializers have been moved from the MGLStyleLayer protocol to the appropriate classes. This fixes an issue in which the protocol declared classes that were unimplemented, leading to an uncaught exception at runtime. (#6269)
- Fixed a crash that occurred when attempting to get a style layer or source that isn’t part of the current style. (#6408)
- Fixed an issue causing some labels to be clipped when the map is tilted. (#6404)
- The runtime styling API is now documented in much more detail. This documentation is now available in HTML and Dash formats. (#6466, #6508, #6543, #6447, #6448)
- A source’s tiles are no longer rendered when the map is outside the source’s supported zoom levels. (#6345)
- Improved style parsing performance. (#6170)
Annotations
- Fixed an issue that caused an annotation view to disappear if it isn’t created using the annotation view reuse queue. (#6485)
- Fixed an issue preventing the map from scrolling to the correct center coordinate when a user tracking mode is enabled and the user location annotation has a vertical alignment other than
MGLAnnotationVerticalAlignmentCenter
. (#6313, #6566) - Fixed an issue preventing cached annotation images from displaying while the device is offline. (#6358)
- MGLPolyline annotations and the exterior coordinates of MGLPolygon annotations are now able to be mutated, part or all, and changes are displayed immediately. (#6565)
Networking and offline maps
- Reverted performance improvements to the offline and ambient cache database, which were added in alpha 3, due to stability issues. (#6320)
- Fixed an issue preventing an MGLMapView from loading tiles while an offline pack is downloading. (#6446)
- Fixed a crash that could occur when the device is disconnected while downloading an offline pack. (#6293)
- Fixed a crash that occurred when encountering a rate-limit error in response to a network request. (#6223)
- Fixed an issue causing an MGLOfflinePack’s progress to continue to update after calling
-suspend
. (#6186) - Query parameters are no longer stripped from mapbox: URLs used as resource URLs. (#6182, #6432)
- Database errors are now logged to the console. (#6291)
Packaging
- Fixed an issue with symbols not being properly stripped from the dynamic framework. The dSYM file included with the standard dynamic framework in previous releases could not be used to symbolicate crashes. (#6531)
To install this prerelease via CocoaPods, point your Podfile to either of these URLs:
- https://raw.githubusercontent.com/mapbox/mapbox-gl-native/ios-v3.4.0-alpha.5/platform/ios/Mapbox-iOS-SDK.podspec
- https://raw.githubusercontent.com/mapbox/mapbox-gl-native/ios-v3.4.0-alpha.5/platform/ios/Mapbox-iOS-SDK-symbols.podspec.
Documentation is available online or as part of the download.