This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
ios-v3.6.0-beta.1
Pre-release
Pre-release
·
5387 commits
to master
since this release
Changes since Mapbox iOS SDK v3.6.0-alpha.1:
Packaging
- Fixed an issue in the static framework where localizations would never load. (#9074)
Styles
- MGLMapView and MGLTilePyramidOfflineRegion now default to version 10 of the Mapbox Streets style. Similarly, several style URL class methods of MGLStyle return URLs to version 10 styles. Unversioned variations of these methods are no longer deprecated.
MGLStyleDefaultVersion
should no longer be used with any style other than Streets. (#6301) - Added class methods to MGLStyle that correspond to the new Traffic Day and Traffic Night styles. (#6301)
- Added a
light
property to MGLStyle for customizing how 3D extruded buildings are lit. (#9043) - Fixed an issue preventing programmatically added style layers from appearing in already cached tiles. (#8954)
- Corrected the example code in the MGLFillExtrusionStyleLayer class reference. (#9059)
- Letter spacing is now disabled in Arabic text so that ligatures are drawn correctly. (#9062)
Annotations
- Added a new initializer to
MGLAnnotationView
so that it is possible to create a new instance with an associated annotation object. (#9029) - Fixed an issue causing annotation views to persist in the map’s annotation container view even after their associated annotations were removed. (#9025)
- The
MGLPolyline.coordinate
andMGLPolygon.coordinate
properties now return the midpoint and centroid, respectively, instead of the first coordinate. (#8713)
User interaction
- Fixed an issue preventing the Mapbox Telemetry confirmation dialog from appearing when opened from within a map view in a modal view controller. (#9027)
- Corrected the size of MGLMapView’s compass. (#9060)
Other changes
- Fixed an issue that caused the compass and scale bar to underlap navigation and tab bars. (#7716)
- Improved CPU and battery performance while animating a tilted map’s camera in an area with many labels. (#9031)
- Fixed a memory leak. (#9036)
To install this prerelease via CocoaPods, point your Podfile to either of these URLs:
- https://raw.githubusercontent.com/mapbox/mapbox-gl-native/ios-v3.6.0-beta.1/platform/ios/Mapbox-iOS-SDK.podspec
- https://raw.githubusercontent.com/mapbox/mapbox-gl-native/ios-v3.6.0-beta.1/platform/ios/Mapbox-iOS-SDK-symbols.podspec
Documentation is available online or as part of the download.