Releases: mapbox/mapbox-gl-native
android-v8.2.0-alpha.3
Changes since Mapbox Maps SDK for Android v8.2.0-alpha.2:
Bug fixes
- Fix map update bug caused by render tiles and render passes becoming unsynchronized #15092
- Fix fill-extrusion layers always rendered above other layers #15065
- Fix a bug where map panning would be blocked after a quick zoom gesture was attempted when quick zoom is set to be ignored by
UiSettings
preferences #15093 - Fix a bug where map panning would be blocked if double-tap is interrupted #15103
Minor features and improvements
- Improve performance of queryRenderedFeatures by removing unnecessary iterations over vectors and unneeded layers #14930
- Decrease the minimum pixel distance between the current camera position and the target required to interpolate during camera animation #15073
- Introduce
MapboxMapOptions
facility creation method #15069 - Throw configuration exception when accessing Mapbox services with an invalid token #15081
- Allow setting a null access token in the runtime #15081
- Ensure location shadow's gradient radius is greater than 0 #15099
Other Changes
ios-v5.2.0-alpha.3
Changes since Mapbox Maps SDK for iOS v5.2.0-alpha.2:
Styles and rendering
- The
MGLIdeographicFontFamilyName
Info.plist key now also accepts an array of font family names, to customize font fallback behavior. It can also be set to a Boolean value ofNO
to force the SDK to typeset CJK characters in a remote font specified byMGLSymbolStyleLayer.textFontNames
. (#14862) - Fixed an issue where layers with fill extrusions would be incorrectly rendered above other layers. (#15065)
- Improved feature querying performance. (#14930)
To install this pre-release via a dependency manager, see our CocoaPods or Carthage instructions.
Documentation is available online or as part of the download.
ios-v5.2.0-alpha.2
Changes since Mapbox Maps SDK for iOS v5.2.0-alpha.1:
Packaging
- The downloaded zip file of this framework no longer contains a local podspec. (#15027)
Styles and rendering
- Hiragana and katakana are now included in the range of CJK glyphs that are rendered locally by default. (#15009)
- Added the
-[MGLMapViewDelegate mapView:shouldRemoveStyleImage:]
method for optimizing style image caching. (#14769) - Fixed style change transition regression caused by delayed setting of the updated layer properties. (#15016)
To install this pre-release via a dependency manager, see our CocoaPods or Carthage instructions.
Documentation is available online or as part of the download.
android-v8.2.0-alpha.2
Changes since Mapbox Maps SDK for Android v8.2.0-alpha.1:
Major features
- Cache management API #14962
Bug fixes
- Fix style change transition regression caused by delayed setting of the updated layer properties #15016
Minor features and improvements
- Include Hiragana and Katakana glyph ranges to LocalGlyphRasterizer #15009
Other Changes
- Update CI image with NDK r20 #15005
ios-v5.2.0-alpha.1
Changes since Mapbox Maps SDK for iOS v5.1.0:
Offline maps
- Fixed an issue where offline regions could report the wrong number of tiles. (#14958)
Packaging
- Removed previously deprecated methods and properties that had been marked
unavailable
. (#15000)
Other changes
- Added variants of several animated
MGLMapView
methods that accept completion handlers (#14381):-[MGLMapView setVisibleCoordinateBounds:edgePadding:animated:completionHandler:]
-[MGLMapView setContentInset:animated:completionHandler:]
-[MGLMapView setUserTrackingMode:animated:completionHandler:]
-[MGLMapView setTargetCoordinate:animated:completionHandler:]
-[MGLMapView showAnnotations:edgePadding:animated:completionHandler:]
-[MGLMapView selectAnnotation:animated:completionHandler:]
- Deprecated variants of the above methods without completion handlers. (#14959)
- Fixed an issue where the two-finger tilt gesture would continue after lifting one finger. (#14969)
To install this pre-release via a dependency manager, see our CocoaPods or Carthage instructions. Note that direct podspec usage is broken in ios-v5.2.0-alpha.1
because of this issue.
Documentation is available online or as part of the download.
android-v8.2.0-alpha.1
Changes since Mapbox Maps SDK for Android v8.1.0:
Bug fixes
- Fix
queryRenderedFeatues
bug caused by incorrect sort feature index calculation #14884 - Fix performance regression by switching back to a more compact line attributes layout #14851
- Fix a bug that restricted camera viewport after camera bounds were reset #14882
- Fix a bug that ignored floating point values during core to platform color conversion #14954
- Implemented asymmetric center of perspective: fixed an issue that caused the focal point to be always based on the view's horizontal center when setting MapboxMap setPadding. #14664
Minor features and improvements
- Allow null updates to GeoJsonSource #14898
Other Changes
- Add resource usage to HttpRequest, add offline query flag to HttpRequest #14837
android-v8.1.0
Bugs
- Accept floating numbers during core->platform color conversion #14954
- Ensure to re-enable move when quickzoom finishes #14965
Features
- Limit concurrent request for Android 4.4 and below to 10 #14971
Note about #14971: This pr makes an adjustment as a precautionary measure towards a rare bug that was discovered via instrumented unit tests on Android 4.4 (aka KitKat). This bug isn’t tied to a code change in the Mapbox Maps SDK for Android. Rather, the root cause is on the Android OS (and how it interacts with OkHttp).
The Maps SDK doesn’t directly communicate with this system library that the bug originates from, but goes through an external dependency that handles the http communication for the Maps SDK. Capturing from the upstream repository that the code path to this system library isn’t thread safe in Android 4.4 and can result in the native crash above. The only way to fix this issue is by upgrading the end-user device to Android 5.0 or higher which isn’t possible if the device manufacturer hasn’t released an update for it.
Please see square/okhttp#2679 for more information.
ios-v5.1.0
This release contains a bug in telemetry collection and has been superseded by 5.1.1.
Changes since Mapbox Maps SDK for iOS v5.0.0:
Styles and rendering
- Setting
MGLMapView.contentInset
now moves the map’s focal point to the center of the content frame after insetting. (#14664) - Fixed a crash when a fill pattern in a style could not be found. (#14696)
- Fixed a rendering performance regression when rendering polylines. (#14851)
- Fixed a rendering performance regression introduced in 4.11.0. (#14907)
- Fixed an issue where symbols underneath opaque fill layers could be incorrectly drawn above such layers. (#14839)
- Fixed an issue where
MGLFillExtrusionStyleLayer
vertical gradients might not be rendered. (#14808)
Other changes
- The
-[MGLMapView setCamera:withDuration:animationTimingFunction:edgePadding:completionHandler:]
method now adds the current value of theMGLMapView.contentInset
property to theedgePadding
parameter. (#14813) - Fixed a feature querying bug caused by incorrect sort feature index calculation. (#14884)
Documentation is available online or as part of the download.
android-v8.1.0-beta.1
ios-v5.1.0-beta.1
Changes since Mapbox Maps SDK for iOS v5.1.0-alpha.2:
Styles and rendering
- Fixed a rendering performance regression when rendering polylines. (#14851)
- Fixed a rendering performance regression introduced in 4.11.0. (#14907)
- Fixed an issue where symbols underneath opaque fill layers could be incorrectly drawn above such layers. (#14839)
Other changes
- Fixed a feature querying bug caused by incorrect sort feature index calculation. (#14884)
- Fixed a crash caused by incorrect renderable size. (#14810)
To install this pre-release via a dependency manager, see our CocoaPods or Carthage instructions.
Documentation is available online or as part of the download.