android-v10.7.0-beta.1
Pre-release
Pre-release
alexander-kulikovskii
released this
29 Jun 15:42
·
960 commits
to main
since this release
10.7.0-beta.1 - June 29, 2022
Breaking changes ⚠️
- Remove deprecated
FollowPuckViewportStateOptions.animationDurationMs
from experimental viewport plugin. (1421)
Features ✨ and improvements 🏁
- Optimise the bearing update frequency for the location puck animator. (1398)
- Use
orientation
model source property to update the 3D puck's bearing, as it is more efficient than updating themodel-rotation
layer property. (1407) - Optimize
MapboxMap.loadStyle()
to apply images and models earlier. #1378 - Remove
MapboxExperimental
annotation from viewport plugin and promote viewport plugin as stable API. (1425) - Introduce
addRendererSetupErrorListener
/removeRendererSetupErrorListener
methods forMapView
andMapSurface
to listen to renderer setup errors and give opportunity to control some edge cases. (1427) - Introduce transition properties for atmosphere and terrain. (1451)
- Enable main thread checking on the map/style object when running applications in debug build. This utility class will crash the application if these objects are accessed from a worked thread. It's required to call these object functions on the main thread, otherwise you can hit edge case crashes. This configurations is advised but can be opted out with a Manifest metadata entry of
com.mapbox.maps.ThreadChecker
and corresponding false value. (#1316). - Introduce view annotation
ViewAnnotationManager.setViewAnnotationUpdateMode
/ViewAnnotationManager.getViewAnnotationUpdateMode
API with following synchronization modes: MAP_SYNCHRONIZED (used by default) and MAP_FIXED_DELAY. (1415) - Reduce geometry on globe tile to increase rendering performance. (#1462)
- Improve rendering performance with deleting layer render data on a worker thread. (#1462)
- Support using
line-trim-offset
property with pure line color. (#1462) - Render cache and Terrain can now have mipmapping enabled to reduce aliasing. (#1462)
- Fast ambient occlusion support for fill extrusion layer. (#1462)
- Refactor view annotation implementation to align map and annotation movement better when camera changes. (#1462)
- Add API
OfflineManager::createTilesetDescriptor(TileDescriptorOptionsForTilesets)
to create tileset descriptor from a tilesets list. (#1462) - Implement shadow rendering support. (#1462)
- Expose experimental shadow APIs for
Light
. #1447 - Introduce
FillExtrusionLayer.fillExtrusionAmbientOcclusionIntensity
andFillExtrusionLayer.fillExtrusionAmbientOcclusionRadius
properties for FillExtrusionLayer. (1458) - Introduce
PointAnnotation.textLineHeight
and deprecatedPointAnnotationManager.textLineHeight
, astext-line-height
is data-driven property now. (1458)
Bug fixes 🐞
- Fix lifecycle edge cases not being handled properly by introducing internal
ViewLifecycleOwner
to have granular control over MapView's lifecycle. (1330) - Fix an issue when
literal
array expression is used as output inside thematch
expression. (1444) - Fix skipping gesture updates resulting in slower gestures on low-end devices. (#1440)
- Fix incorrect image source rendering with terrain enabled. (#1462)
- Fix possible crash bug in image processing. (#1462)
- Fix some cpu-updated symbols being invisible in globe view. (#1462)
- Add support for terrain transition properties. (#1462)
- Fix zoom constraining issue when the input 'maxZoom' is smaller than the current 'minZoom' value. (#1462)
- Fix crash on calling Query Rendered Features API from renderer thread before initialising the renderer. (#1462)
- Fix tile pre-fetching for the globe map projection. (#1462)
- Fix a bug where changing size of the map would lead map center getting changed as well. (#1462)
Dependencies
- Bump gl-native to v10.7.0-beta.1, common to 22.1.0-beta.1. (#1462)