Skip to content

Releases: mapbox/mapbox-maps-android

v11.22.0

16 Apr 14:05

Choose a tag to compare

Features ✨ and improvements 🏁

  • Expose height and minHeight properties on StandardBuildingsFeature.
  • Deprecate PointAnnotation.iconImage getter. 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 via PointAnnotationOptions.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 AnnotationManager where bitmap style images were not removed when annotations were deleted.
  • Fix feature ID format mismatch in JNI marshaling where whole-number double feature IDs (e.g. 12345.0) were incorrectly serialized as "12345.000000" instead of "12345", causing setFeatureState to fail when using IDs obtained from queryRenderedFeatures.
  • [compose] Fix MapboxMap crash (place is called on a deactivated node) when used inside a LazyColumn.
    • [compose] Known limitation: on Compose Foundation 1.7+ a secondary crash (Apply is called on deactivated node) may still occur when MapboxMap is used inside a LazyColumn during fast scrolling/item reuse because of LazyColumn prefetch behavior. Workaround: pass a no-op LazyListPrefetchStrategy to rememberLazyListState(); see LazyColumnMapActivity for an example.
  • 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.
  • Fix tunnel roads being clipped or missing near the top of the screen at high pitch angles when crossing tile boundaries.
  • Fix stretchable icons used with icon-text-fit disappearing in some situations.
  • Fix dashed lines not rendering correctly when line-dasharray values are smaller than 1.

Dependencies

v11.21.2

16 Apr 22:49

Choose a tag to compare

Features ✨ and improvements 🏁

  • Improve rendering performance of feature cutouts

Bug fixes 🐞

  • Fix tile cover issues for tunnels

Dependencies

v11.20.3

15 Apr 13:05

Choose a tag to compare

Bug fixes 🐞

  • Fix tile data decompression by properly tracking compression state in tile storage.

Dependencies

v11.21.1

13 Apr 07:21

Choose a tag to compare

Features ✨ and improvements 🏁

  • Deprecate PointAnnotation.iconImage getter. 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 via PointAnnotationOptions.withIconImage(String). In that case you are responsible for the image's lifecycle and must remove it from the style when no longer needed.

Bug fixes 🐞

  • Fix native memory leak in AnnotationManager where bitmap style images were not removed when annotations were deleted.
  • Fix an issue where overscaled tiles from offline tile packs could delay fetching higher-resolution network tiles.

Dependencies

v11.19.6

13 Apr 06:46

Choose a tag to compare

Bug fixes 🐞

  • Internal fixes and performance improvements.

Dependencies

v11.22.0-rc.1

09 Apr 08:35

Choose a tag to compare

v11.22.0-rc.1 Pre-release
Pre-release

Features ✨ and improvements 🏁

  • Expose height and minHeight properties on StandardBuildingsFeature.
  • Deprecate PointAnnotation.iconImage getter. 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 via PointAnnotationOptions.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 AnnotationManager where bitmap style images were not removed when annotations were deleted.
  • Fix feature ID format mismatch in JNI marshaling where whole-number double feature IDs (e.g. 12345.0) were incorrectly serialized as "12345.000000" instead of "12345", causing setFeatureState to fail when using IDs obtained from queryRenderedFeatures.
  • [compose] Fix MapboxMap crash (place is called on a deactivated node) when used inside a LazyColumn.
    • [compose] Known limitation: on Compose Foundation 1.7+ a secondary crash (Apply is called on deactivated node) may still occur when MapboxMap is used inside a LazyColumn during fast scrolling/item reuse because of LazyColumn prefetch behavior. Workaround: pass a no-op LazyListPrefetchStrategy to rememberLazyListState(); see LazyColumnMapActivity for an example.
  • 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

v11.19.5

07 Apr 05:21

Choose a tag to compare

Bug fixes 🐞

  • Internal fixes and performance improvements.

Dependencies

  • Update gl-native to v11.19.5, common to v24.19.5.

v11.21.0

02 Apr 12:34

Choose a tag to compare

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 AnnotationManager where 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

02 Apr 14:53

Choose a tag to compare

Bug fixes 🐞

  • Fix overscaled offline tilepack tiles being showed after switching to online mode

Dependencies

  • Update gl-native to v11.19.4, common to v24.19.4.

v11.19.3

01 Apr 10:10

Choose a tag to compare

Bug fixes 🐞

  • Internal fixes and performance improvements.

Dependencies

  • Update gl-native to v11.19.3, common to v24.19.3.