Releases: mapbox/mapbox-maps-android
Releases · mapbox/mapbox-maps-android
v10.11.0-beta.1
10.11.0-beta.1 January 11, 2023
Features ✨ and improvements 🏁
- Skip redundant
MapboxMap.setCamera
updates inCameraAnimationsPlugin
. (1909) - Improve performance by setting geojson data directly. (1920)
- Update license to reflect latest version of the Mapbox TOS. (1927)
- Fix viewport hang when transition to
FollowPuckViewportState
and no new location update is available. (1929) - Optimize shadow rendering memory use and performance. (1934)
- Enable the usage of expressions in array values during style parsing, where the member expressions in the array is evaluated to the same type. (1934)
- Slightly improve quality and performance of the terrain. (1934)
Bug fixes 🐞
- Fix crash due to invalid distance when panning the map. (1906)
- Fix asset file source threading model. (1934)
- Fix terrain elevation when a padded dem source is used. (1934)
- Fix distance-to-center filtering of symbols when terrain is enabled. (1934)
- Fix camera bumpiness at the beginning of a drag operation when terrain is enabled. (1934)
- Fix disappearing tiles when terrain with a high exaggeration is enabled. (1934)
- Mitigate symbol flickering on source data change during camera animation. (1934)
- Fixes rare crashes during render feature queries, if the features are located close to each other. (1934)
- Fix redundant snapshot capturing that caused excessive memory usage. (1934)
- Fixes an issue when allow-overlap, ignore-placement , and map rotation-alignment of icon breaks the rendering of symbols on the globe. (1934)
- Mitigate symbol flickering on source data change during camera animation. (1934)
- Mitigate OOM caused by Snapshotter API usage. (1934)
- Fix an issue where the camera would start flickering during subsequent calls to
Map::jumpTo
/Map::easeTo
with terrain enabled. (1934)
Dependencies
- Update gl-native to v10.11.0-beta.1 and common to v23.3.0-beta.1. (1934)
Known issues
- Using
pattern
anddash
transition properties for layer (e.g.BackgroundLayer.backgroundPatternTransition
,FillExtrusionLayer.fillExtrusionPatternTransition
,FillLayer.fillPatternTransition
,LineLayer.lineDasharrayTransition
,LineLayer.linePatternTransition
, ...) will result in an invalid layer.
v10.10.0
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)
v10.10.0-rc.1
10.10.0-rc.1 November 18, 2022
Features ✨ and improvements 🏁
- Improve symbol filtering performance when distance-from-camera and pitch expressions are used. (1836)
- Add API for removing atmosphere. (1841)
Bug fixes 🐞
- 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)
- Clear geojson tiles after the source is updated with empty features in order to eliminate "phantom tile" artifacts and to obviate extra work for keeping empty tiles. (1836)
- Fix a regression from v10.10.0-beta.1 release, the BitmapWidget.setTranslation API should offset relative to its original position. (1833)
- 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)
- [telemetry] Dispatch location updates as a location event when the app is moving to background. (1836)
- Fix
LocationEngine
to support multiple concurrent clients. (1836)
Dependencies
- Update gl-native to v10.10.0-rc.1 and common to v23.2.0-rc.3. (1836)
- 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) - Fix immediate camera animation on API level 23 or below. (1842)
extension-androidauto-v0.5.0
0.5.0 November 16, 2022
Features ✨ and improvements 🏁
- Make the SDK compatible with Jetpack Car Library
v1.2.+
. (#1828) - Always use
MapOptions.contextMode = ContextMode.SHARED
when creating the map session preventing hard-catching runtime crashes or artifacts. (1834)
Dependencies
- Android Auto car library
androidx.car.app:app:1.2.+
- Supports any version of Mapbox Maps 10.5.+
extension-androidauto-v0.4.0
0.4.0 November 7, 2022
Features ✨ and improvements 🏁
- Make the SDK compatible with any version of Mapbox Maps
v10.5.+
. (#1706) - Remove experimental annotation from
MapboxCarMap
,MapboxCarMapObserver
,MapboxCarMapSurface
,MapboxCarMapGestureHandler
, andDefaultMapboxCarMapGestureHandler
. (#1767)
Dependencies
- Android Auto car library
androidx.car.app:app:1.1.+
- Supports any version of Mapbox Maps 10.5.+
v10.9.1
v10.10.0-beta.1
10.10.0-beta.1 November 03, 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) - Eliminate tiles re-creation and re-layout on zooming map with globe, when the camera is trespassing the zoom projection border. (1791)
- Avoid tiles re-layout on enabling terrain with zero exaggeration. (1791)
- Asynchronous GeoJSON data parsing when adding a new style source. (1791)
- 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 APIs to enable/disable rendering of world copies. (1794, 1791)
Bug fixes 🐞
- Fix an issue when touch events didn't pass through clickable view annotations. (1745)
- Handle OOB when getting DEM Data. (1791)
- Fix a rare precision issue with symbol and circle layer occlusion when terrain is enabled. (1791)
- Fixes a rare crash caused by a race condition during gesture handling. (1791)
- Disable location indicator occlusion testing with the terrain when exaggeration is set to 0. This fixes occasional location indicator disappearance. (1791)
- Exclude map disk cache files from cloud backups. (1791)
Dependencies
- Update gl-native to v10.10.0-beta.1 and common to v23.2.0-beta.1. (1791)
v10.9.0
10.9.0 October 21, 2022
Features ✨ and improvements 🏁
- Rendering performance improvements for fast paced camera changes. (1760)
- Eliminate tiles re-creation and re-layout on zooming map with globe, when the camera is trespassing the zoom projection border. (1729)
- Deprecate gesture settings
increaseRotateThresholdWhenPinchingToZoom
property. (1632) - Enable asynchronous tile uploader by default to improve animation performance. (1679)
- Vector tiles without symbols are not hold for fade-out animation so that less amount of vector tiles are managed at a time. (1679)
- Add support to set location puck opacity. (1659)
- Support
pitch
anddistanceFromCenter
filters in symbol layers. (1662) - Migrate telemetry APIs from mobile-events-android to common SDK implementation. (1672)
Bug fixes 🐞
- Fix frequent layout invalidation caused by view annotations calling
View.bringToFront()
. (1744) - Fix flickering of vertically shifted line labels on style change, caused by the wrong initial placement. (1760)
- Fix location indicator rendering as a rectangle on low zoom levels. (1760)
- Fix crash caused by using of invalid paint property binders. (1760)
- Fix "phantom tiles" artefacts after GeoJSON source update when asynchronous tile loading is enabled. (1760)
- Fix a bug in cameraForGeometry when called on a map with padding set. (1760)
- Fix scale bar text being cut. (1716)
- Fix possible crash when adding terrain using Style DSL after consecutive style changes. (1717)
- Fix scale bar text overlapping. (1728)
- Fix issue where
Widget
is not immediately rendered when added to theMapView
. (1708) - Mitigate symbol flickering on zooming out globe map. (1729)
- Fix random crash on tiles update when asynchronous uploading is enabled. (1729)
- Make telemetry a single instance. Avoids module recreation when coming from background. (#1695)
- Fix scale bar truncated at high zoom levels near the poles. (1620)
- Fix broken view annotation positioning when marking them
View.INVISIBLE
and then makingView.VISIBLE
. (1616) - Snap puck to north if
puckBearingEnabled
is set to false. (1635) - Preserve cached properties if applied to the layer before during the
Style#getLayer
call. (1622) - Fix a
NullPointerException
inStandardGestureListener
, whereMotionEvent
should be nullable. (1645), (1677) - Fix incorrect
MapView
dimensions after background orientation change. (1658) - Fix wrong
BitmapWidget
position when usingWidgetPosition.Horizontal.CENTER
orWidgetPosition.Vertical.CENTER
property. (1651) - Fix pixel flickering between tiles on darker styles in globe view. (1679)
- Fix incorrect shading of rounded corners in fill extrusions when ambient occlusion and/or shadow is enabled. (1679)
- Fix shadows when the light radial coordinate is zero. (1679)
- Location indicator layer is occluded by terrain to align rendering behavior with other location indicator rendering types. (1679)
- Symbol flickering after runtime styling caused by using outdated symbol placement on updated symbol buckets. (1679)
- Allow Light intensity and Light shadow intensity to accept expressions when using setStyleLight API call. (1679)
- Fix a bug in
cameraForGeometry
when called on a map with padding set. (1679) - Throw an exception with the meaningful stack trace when constructing
Value
from an infinite or NaN number. (1681)
Dependencies
v10.9.0-rc.1
10.9.0-rc.1 October 07, 2022
Features ✨ and improvements 🏁
- Eliminate tiles re-creation and re-layout on zooming map with globe, when the camera is trespassing the zoom projection border. (1729)
Bug fixes 🐞
- Fix scale bar text being cut. (1716)
- Fix possible crash when adding terrain using Style DSL after consecutive style changes. (1717)
- Fix scale bar text overlapping. (1728)
- Fix issue where
Widget
is not immediately rendered when added to theMapView
. (1708) - Fix "phantom tiles" artefacts after GeoJSON source update when asynchronous tile loading is enabled. (1729)
- Mitigate symbol flickering on zooming out globe map. (1729)
- Fix random crash on tiles update when asynchronous uploading is enabled. (1729)
- Fix a crash when Google location service is started in background but stopped in foreground. (1729)
- Fix an issue where mock field is missing from the LocationEngine updates. (1729)
Dependencies
- Update gl-native to v10.9.0-rc.1 and common to v23.1.0-rc.2. (1729)
v10.8.1
10.8.1 September 30, 2022
Bug fixes 🐞
- Fix incorrect
MapView
dimensions after background orientation change. (1658) - Throw an exception with the meaningful stacktrace when constructing
Value
from an infinite or NaN number. (1681) - Make telemetry a single instance. Avoids module recreation when coming from background. (#1695)
- Fix a potential style load error when non-ASCII characters are used in the version name, by escaping non US ASCII characters in user-agent header. (1709)
Dependencies
- Bump common to v23.0.1. (1709)