This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
ios-v3.4.0-beta.3
Pre-release
Pre-release
·
6752 commits
to master
since this release
Changes since ios-v3.4.0-beta.2:
Stability and Swift compatibility
- Fixed a crash that occurred during low-memory situations when multiple instances of MGLMapView were in the view hierarchy. (#6972)
- Notification names and user info keys are now string enumeration values for ease of use in Swift. (#6794)
Styles and data
- Fixed a memory leak that occurred when MGLStyleLayer instances were created and added to an MGLStyle. (#6904)
- Changes to MGLSymbolStyleLayer’s
textField
andiconSize
properties now take effect immediately. (#6928, #6932) - Fixed a crash that occurred when removing an MGLSource or MGLStyleLayer from an MGLStyle and adding it back to the same MGLStyle or another MGLStyle. (#7048)
- A more informative exception is raised if you attempt to add an incorrectly initialized source to an MGLStyle or remove an incorrectly initialized source or style layer from an MGLStyle. (#7060)
- Improved the performance of symbol style layers. (#7025)
Annotations
- Fixed a crash panning or zooming after adding a polyline or polygon annotation to the map. (#6888)
- Fixed a crash calling
-[MGLMapView viewForAnnotation:]
with an annotation that has not been added to the map. (#6957) -[MGLMapView viewForAnnotation:]
now returns the user location annotation view when given the user location annotation. (#6957)-[MGLMultiPoint replaceCoordinatesInRange:withCoordinates:]
now raises an exception if the range extends beyond the current array of coordinates. To append coordinates to an existing polyline or polygon, use the new-appendCoordinates:count:
method. (#6890)- Fixed an issue where view-backed annotations added while panning the map could become detached from the map and cause a crash. (#6924)
- Fixed a crash that occurred when adding the same MGLAnnotation object to the map a second time. (#6924)
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-beta.3/platform/ios/Mapbox-iOS-SDK.podspec
- https://raw.githubusercontent.com/mapbox/mapbox-gl-native/ios-v3.4.0-beta.3/platform/ios/Mapbox-iOS-SDK-symbols.podspec.
Documentation is available online or as part of the download.