v11.22.0
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.
- 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-fitdisappearing in some situations. - Fix dashed lines not rendering correctly when
line-dasharrayvalues are smaller than 1.
Dependencies
Fetched May 1, 2026
