Skip to content

Releases: mapbox/mapbox-maps-android

v10.10.2

16 Feb 13:58
a1bd12c
Compare
Choose a tag to compare

10.10.2 February 16, 2023

Bug fixes 🐞

  • [tile store] Remove token from TileStore Logs. (2011)

Dependencies

  • Update common to v23.2.3. (2011)

v10.11.0

09 Feb 10:24
96acb5e
Compare
Choose a tag to compare

10.11.0 February 09, 2023

Features ✨ and improvements 🏁

  • Skip redundant MapboxMap.setCamera updates in CameraAnimationsPlugin. (1909)
  • Improve performance by setting geojson data directly. (1920)
  • Fix viewport hang when transition to FollowPuckViewportState and no new location update is available. (1929)
  • Avoid unneeded tiles relayout on style change. (1984)
  • Enable the usage of expressions in array values during style parsing, where the member expressions in the array is evaluated to the same type. (1984)
  • Slightly improve quality and performance of the terrain. (1984)
  • Improve performance for style switch use cases by avoiding unneeded tiles re-layout. (1984)

Bug fixes 🐞

  • Fix a bug where flyTo animation request invalid tiles from map engine. (1949)
  • Deprecate pattern and dash transition properties for layer (e.g. BackgroundLayer.backgroundPatternTransition, FillExtrusionLayer.fillExtrusionPatternTransition, FillLayer.fillPatternTransition, LineLayer.lineDasharrayTransition, LineLayer.linePatternTransition, ...). (1941)
  • Fix terrain tiles missing issue when running in the emulator and some android devices. (1953)
  • Fix wrong onLongTouch event detected on any map gesture after clicks on ViewAnnotation. (1954)
  • Fix a known issue where NullPointerException was thrown when last location was not available. (1984)
  • Fix flickering issues for the symbols that allow overlap (have text(icon)-allow-overlap: true) with skipping fade-in animation for them. (1984)
  • Fix data queueing issue when calling API 'setStyleGeoJSONSourceData'. (1984)
  • Fix flickering terrain on high pitched views. (1984)
  • Clamp inputs in DEMData::get() to prevent OOB Access. (1984)
  • Fix asset file source threading model - do not use legacy RunLoop, thus do not use ALooper and get rid of an extra thread. (1984)
  • Fix text visualization when in orthographic mode. (1984)
  • Fix terrain elevation when a padded dem source is used. (1984)
  • Fixes visible tile borders when msaa enabled. (1984)
  • Fix distance-to-center filtering of symbols when terrain is enabled. (1984)
  • Fix color transitions in model ligthing. (1984)
  • Fix terrain placement for model layer when model scale is set to zero. (1984)
  • Fix geometry tile model layer paint property transition. (1984)
  • Fix camera bumpiness at the beginning of a drag operation when terrain is enabled. (1984)
  • Fix disappearing tiles when terrain with a high exaggeration is enabled. (1984)
  • Fix line-border-color when used with line-trim-offset. (1984)
  • Fixes an issue when allow-overlap, ignore-placement , and map rotation-alignment of icon breaks the rendering of symbols on the globe. (1984)
  • Mitigate symbol flickering on source data change during camera animation. (1984)
  • Mitigate OOM caused by Snapshotter API usage. (1984)
  • Fixes rare crashes during render feature queries, if the features are located close to each other. (1984)
  • Fix an issue where the camera would start flickering during subsequent calls to Map::jumpTo / Map::easeTo with terrain enabled.. (1984)
  • Fix redundant snapshot capturing that caused excessive memory usage. (1984)
  • Fix incorrect resource type being specified map loading error event data. (1984)
  • Original gesture settings should be maintained after map operations (such as panning the map) complete. (1989)

Dependencies

  • Update gl-native to v10.11.1, common to v23.3.1. (1984)

v10.11.0-rc.1

26 Jan 16:49
9a44906
Compare
Choose a tag to compare
v10.11.0-rc.1 Pre-release
Pre-release

10.11.0-rc.1 January 26, 2023

Features ✨ and improvements 🏁

  • Improve performance for style switch use cases by avoiding unneeded tiles re-layout. (1953)

Bug fixes 🐞

  • Fix a bug where flyTo animation request invalid tiles from map engine. (1949)
  • Deprecate pattern and dash transition properties for layer (e.g. BackgroundLayer.backgroundPatternTransition, FillExtrusionLayer.fillExtrusionPatternTransition, FillLayer.fillPatternTransition, LineLayer.lineDasharrayTransition, LineLayer.linePatternTransition, ...). (1941)
  • Fix terrain tiles missing issue when running in the emulator and some android devices. (1953)

Dependencies

  • Update gl-native to v10.11.0-rc.1 and common to v23.3.0-rc.1. (1953)

Known issues

  • If last location is not available, LocationEngine will throw a NullPointerException.

v10.10.1

25 Jan 14:35
1c78c2c
Compare
Choose a tag to compare

10.10.1 January 25, 2023

Features ✨ and improvements 🏁

  • Add custom header x-mapbox-app-info to requests. (1957)

Bug fixes 🐞

  • Fix a bug where taking consecutive snapshots had missing tiles. (1957)

Dependencies

  • Update gl-native to v10.10.1 and common to v23.2.2. (1957)

v10.11.0-beta.1

11 Jan 13:12
863e4dd
Compare
Choose a tag to compare
v10.11.0-beta.1 Pre-release
Pre-release

10.11.0-beta.1 January 11, 2023

Features ✨ and improvements 🏁

  • Skip redundant MapboxMap.setCamera updates in CameraAnimationsPlugin. (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 and dash 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

07 Dec 20:04
e53cf66
Compare
Choose a tag to compare

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 the WidgetPosition.offset, rename WidgetPosition.horizontal/WidgetPosition.vertical to WidgetPosition.horizontalAlignment/WidgetPosition.verticalAlignment; Deprecate the original constructors and setTranslation 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 and pitch 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 or MapSurface and not specifying MapInitOptions.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 to com.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

18 Nov 13:39
95f5557
Compare
Choose a tag to compare
v10.10.0-rc.1 Pre-release
Pre-release

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 or MapSurface and not specifying MapInitOptions.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 to com.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

17 Nov 01:05
bc2dfce
Compare
Choose a tag to compare

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

09 Nov 18:33
03bf6a8
Compare
Choose a tag to compare

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, and DefaultMapboxCarMapGestureHandler. (#1767)

Dependencies

  • Android Auto car library androidx.car.app:app:1.1.+
  • Supports any version of Mapbox Maps 10.5.+

v10.9.1

07 Nov 17:59
b177529
Compare
Choose a tag to compare

10.9.1 November 07, 2022

Bug fixes 🐞

  • Handle OOB when getting DEM Data. (#1808)