v10.10.0
mapbox-github-ci-writer-public-1
released this
07 Dec 20:04
·
6 commits
to v10.10
since this release
10.10.0 December 07, 2022
Features ✨ and improvements 🏁
- Introduce view annotation
ViewAnnotationManager.annotations
API to access list of added view annotations. (1751) - Introduce view annotation
ViewAnnotationManager.cameraForAnnotations
API to get camera options for given view annotations list. (1753) - Unify the
margin
/translation
Widget
APIs into theWidgetPosition.offset
, renameWidgetPosition.horizontal
/WidgetPosition.vertical
toWidgetPosition.horizontalAlignment
/WidgetPosition.verticalAlignment
; Deprecate the original constructors andsetTranslation
APIs. (1782) - Add API for removing atmosphere. (1841)
- Introduce
MapTelemetry.getUserTelemetryRequestState
API. (1877) - Eliminate tiles re-creation and re-layout on zooming map with globe, when the camera is trespassing the zoom projection border. (1891)
- Avoid tiles re-layout on enabling terrain with zero exaggeration. (1891)
- Added API to enable/disable rendering of world copies in mercator mode. (1891)
- Improve symbol filtering performance when
distance-from-camera
andpitch
expressions are used. (1891) - Reduce number of operations when terrain is used with zero exaggeration. (1891)
Bug fixes 🐞
- Fix an issue when touch events didn't pass through clickable view annotations. (1745)
- Trigger repaint after
BitmapWidget
is updated. (1797) - Fix a crash after removing the view annotation if view has an attached animation or transition. (1831)
- Emit the last indicator state when new listeners are added to the location component. (1827)
- Fix an issue where queried symbol features did not contain the associated feature state. (1836)
- Throw understandable exception when using widgets with the
MapView
orMapSurface
and not specifyingMapInitOptions.MapOptions.contextMode = ContextMode.SHARED
preventing hard-catching runtime crashes or artifacts. (1834) - Fix an issue where location updates were not provided on correct thread/looper. (1836)
- Dispatch location updates as a location event when the app is moving to background. (1836)
- Fix
LocationEngine
to support multiple concurrent clients. (1836) - Fix immediate camera animation on API level 23 or below. (1842)
- Fix loss of
Widget
during background/foreground transition. (1864) - Fix displaying MapView in Android Studio Layout Preview. (1881)
- Fix a bug where
ViewAnnotationManager.cameraForAnnotations
API doesn't return correct camera bounds. (1861) - Handle OOB when getting DEM Data (1891)
- Fix a rare precision issue with symbol and circle layer occlusion when terrain is enabled. (1891)
- Fixes a rare crash caused by a race condition during gesture handling. (1891)
- Disable location indicator occlusion testing with the terrain when exaggeration is set to 0. This fixes occasional location indicator disappearance. (1891)
- Fix an issue where queried symbol features did not contain associated feature state. (1891)
- Clear geojson tiles after the source is updated with empty features in order to eliminate "phantom tile" artefacts and to obviate extra work for keeping empty tiles. (1891)
- Eliminate duplicated tile async upload requests - fix a race condition causing a tile rendering the previous layout result. (1891)
- Truncate long single line text in symbol layers to prevent rendering artifact. (1891)
- Fixes an issue when the mixed usage of patterns and icons caused bleeding of textures. (1891)
- Fixes visible tile borders when MSAA enabled. (1891)
- Fix LOD and prevent from flickering on enabling terrain with zero exaggeration. (1891)
- Setting empty value for a style layer filter now clears the filter. (1891)
- Fixes rendering artifacts near tile borders when using terrain with zero exaggeration. (1891)
- Fixes fog rendering when terrain is used with zero exaggeration. (1891)
- Fix
distance-to-center
filtering of symbols when terrain is enabled. (1891) - Improved
cameraForCoordinate
result quality with pitch and with terrain. (1891) - Fix a crash on Android 10 and below, when Google Play Location Service is not present. (1898)
Dependencies
- Update gl-native to v10.10.0 and common to v23.2.1. (1891 1898)
- Remove
mapbox-android-core
dependency, it is now part of Mapbox Common library.
NOTE:: You need to remove any explicit dependency declaration tocom.mapbox.mapboxsdk:mapbox-android-core:<version>
from the project to avoid duplicated class definition errors related to location APIs. (1836)