Releases: mapbox/mapbox-maps-android
Releases · mapbox/mapbox-maps-android
v11.22.0-rc.1
Features ✨ and improvements 🏁
- Expose
heightandminHeightproperties onStandardBuildingsFeature. - Deprecate
PointAnnotation.iconImagegetter. Reading this property exposes an internally generated image ID managed by the annotation manager. If you need a stable, reusable image ID, register the image in the style yourself via the Style API and pass the ID explicitly viaPointAnnotationOptions.withIconImage(String). In that case you are responsible for the image's lifecycle and must remove it from the style when no longer needed. - Internal fixes and performance improvements.
Bug fixes 🐞
- Fix native memory leak in
AnnotationManagerwhere bitmap style images were not removed when annotations were deleted. - Fix feature ID format mismatch in JNI marshaling where whole-number
doublefeature IDs (e.g.12345.0) were incorrectly serialized as"12345.000000"instead of"12345", causingsetFeatureStateto fail when using IDs obtained fromqueryRenderedFeatures. - [compose] Fix
MapboxMapcrash (place is called on a deactivated node) when used inside aLazyColumn.- [compose] Known limitation: on Compose Foundation 1.7+ a secondary crash (
Apply is called on deactivated node) may still occur whenMapboxMapis used inside aLazyColumnduring fast scrolling/item reuse because ofLazyColumnprefetch behavior. Workaround: pass a no-opLazyListPrefetchStrategytorememberLazyListState(); seeLazyColumnMapActivityfor an example.
- [compose] Known limitation: on Compose Foundation 1.7+ a secondary crash (
- Fix location indicator cutout appearing in the wrong position on devices with high pixel density.
- Fix lines with sub-pixel width being rendered thicker than intended.
- Fix tile data decompression by properly tracking compression state in tile storage.
- Fix potential ANR caused by a deadlock in lifecycle management.
- Fix tile store cleanup task incorrectly deleting in-progress downloads.
- Fix tiles failing to load on some Android devices when the server response is incomplete.
Dependencies
- Update gl-native to v11.22.0-rc.1, common to v24.22.0-rc.1.
v11.19.5
v11.21.0
Bug fixes 🐞
- Fix tile store eviction failing to clean up files for decompressed tiles, causing gradual storage growth.
- Fix gaps in elevated route line rendering at ramp transitions and tile borders.
- Fix indicator cutout (location puck area) appearing in the wrong position on high-DPI displays.
- Fix incorrect shadow culling on fill-extrusion layers.
- Fix ambient occlusion not being clipped when fill-extrusion layers are clipped by clip layers.
- Fix clip layer updates not always refreshing clipped layers and shadows.
- Fix native memory leak in
AnnotationManagerwhere bitmap style images were not removed onDestroy. - Fix feature cutout rendering artifacts on some devices caused by insufficient shader precision.
- Fix rendering of stacked underground 3D roads.
- Fix a crash that could occur when the map is destroyed during style loading.
- Fix underground road geometry being clipped in orthographic projection with small viewports.
- Fix map flickering caused by stencil buffer conflicts between raster and hillshade layers.
- Fix potential ANRs when receiving location updates under heavy system load.
- Internal fixes and performance improvements.
Dependencies
- Update gl-native to v11.21.0, common to v24.21.0.
v11.19.4
v11.19.3
v11.19.2
v11.20.2
v11.18.3
v11.21.0-rc.1
Bug fixes 🐞
- Fix intermittent rendering artifacts (reversed/large bitmaps) on Android Auto caused by stale texture ID reuse in
BitmapWidgetRendererafter surface recreation. - Fix native memory leak in
AnnotationManagerwhere bitmap style images were not removed onDestroy. - Fix feature cutout rendering artifacts on some devices caused by insufficient shader precision.
- Fix rendering of stacked underground 3D roads.
- Fix a crash that could occur when the map is destroyed during style loading.
- Fix underground road geometry being clipped in orthographic projection with small viewports.
- Fix map flickering caused by stencil buffer conflicts between raster and hillshade layers.
- Fix potential ANRs when receiving location updates under heavy system load.
- Fix a bug in eviction logic for TileStore.
- Internal fixes and performance improvements.
Dependencies
- Update gl-native to v11.21.0-rc.1, common to v24.21.0-rc.1.
v11.20.1
Important
A bug in the SDK's offline data management causes untracked data to accumulate instead of being removed under specific conditions. This leads to uncontrolled storage growth, potentially degrading system performance or causing complete unusability if disk space is exhausted.
The required version for upgrade is 11.20.2 or any version from 11.21.0 onward.
This specific bug is only relevant to users who use tilestore offline regions.
Bug fixes 🐞
- Internal fixes and performance improvements.