Releases: mapbox/mapbox-maps-android
Releases · mapbox/mapbox-maps-android
v11.14.0
Features ✨ and improvements 🏁
- Added new
FillLayer.fillPatternCrossFade
,FillExtrusionLayer.fillExtrusionPatternCrossFade
,LineLayer.fillExtrusionPatternCrossFade
properties. - Provide depth range used for rendering 3D content to custom layers.
- Added new
split
expression, which returns an array of substrings from a string, split by a delimiter parameter. - Added experimental
MapView.scheduleThreadServiceTypeReset()
to reset the renderer thread service type to Interactive. This experimental API is intended for edge cases involving custom lifecycle management or specific scenarios where the default lifecycle behavior is insufficient. - Added
setContentDescription()
method toAttributionPlugin
andAttributionView
interfaces to programmatically set accessibility content description for the attribution button. - Added
MapView.onResume()
which should be called inonResume()
of the host activity or fragment to resume the map view ifplugin-lifecycle
is not used.
Bug fixes 🐞
- [compose] Avoid excessive debug logging on SourceState, which can result in Out Of Memory in extreme cases. Avoid appending geojson data in
GeoJsonSourceState.toString()
override. - Fix exception when accessing enum properties in annotations.
- Fix an issue where instant animation might not have been executed in case of launching multiple animations within a single frame.
- Apply obfuscation rules for generated
@MapboxModule
withenableConfiguration = true
- Handle getSharedPreferences exceptions in SettingsServiceHelper
- Fixed placement for point symbols with symbol-z-offset
- Fixed some icons being skipped in rare cases
- Fixed text/icon intersections for optional texts/icons in some cases
- Fix Dynamic View Annotations caches rebuilding on line-trim-offset updates
- Fix symbol z-offset not working with fixed fill-extrusion-height
- Fix potential race conditions in the sprite loader
- Fix crash when using
CustomRasterSourceTileRenderer
- Fix crash when logging invalid data
- Fixed FillExtrusionLayer flickering when transitioning between flat and globe projection
Dependencies
- Update gl-native to v11.14.0, common to 24.14.0.
v11.13.5
v11.13.4
v11.14.0-rc.1
Features ✨ and improvements 🏁
- Added
setContentDescription()
method toAttributionPlugin
andAttributionView
interfaces to programmatically set accessibility content description for the attribution button. - Added
MapView.onResume()
which should be called inonResume()
of the host activity or fragment to resume the map view ifplugin-lifecycle
is not used. - Improved zoom animation performance by preloading target tiles and reducing unnecessary intermediate tile processing, resulting in smoother camera transitions and reduced frame rate drops.
Bug fixes 🐞
- Fix exception when accessing enum properties in annotations.
- Fix an issue where instant animation might not have been executed in case of launching multiple animations within a single frame.
- Fix potential data race in Mapbox token initialization
- Minor fixes in
TileStore
service - Fixed an issue where View Annotations would disappear when rotating and tilting the
MapView
withallowOverlapWithPuck=false
due to incorrect intersection calculations with off-screen location pucks.
Dependencies
- Update gl-native to v11.14.0-rc.1 and common to 24.14.0-rc.1.
v11.13.3
Features ✨ and improvements 🏁
- Added
setContentDescription()
method toAttributionPlugin
andAttributionView
interfaces to programmatically set accessibility content description for the attribution button.
Bug fixes 🐞
- Apply obfuscation rules for generated
@MapboxModule
withenableConfiguration = true
Dependencies
v11.13.2
v11.14.0-beta.1
Features ✨ and improvements 🏁
- Added new
FillLayer.fillPatternCrossFade
,FillExtrusionLayer.fillExtrusionPatternCrossFade
,LineLayer.fillExtrusionPatternCrossFade
properties. - Provide depth range used for rendering 3D content to custom layers.
- Added new
split
expression, which returns an array of substrings from a string, split by a delimiter parameter.
Bug fixes 🐞
- Apply obfuscation rules for generated
@MapboxModule
withenableConfiguration = true
- Handle getSharedPreferences exceptions in SettingsServiceHelper
- Fixed placement for point symbols with symbol-z-offset
- Fixed some icons being skipped in rare cases
- Fixed text/icon intersections for optional texts/icons in some cases
- Fix Dynamic View Annotations caches rebuilding on line-trim-offset updates
- Fix symbol z-offset not working with fixed fill-extrusion-height
- Fix potential race conditions in the sprite loader
Dependencies
v11.13.1
v11.13.0
11.13.0 June 17, 2025
Features ✨ and improvements 🏁
- Expose
RenderThreadStatsRecorder
as experimental API. - Expose new experimental properties:
CircleLayer.circleElevationReference
,FillLayer.fillConstructBridgeGuardRail
,FillLayer.fillBridgeGuardRailColor
,FillLayer.fillTunnelStructureColor
. - Promote
MapInteraction
APIs to stable, remove experimentalStyle.STANDARD_EXPERIMENTAL
constant, asStyle.STANDARD
supports featuresets and map interactions by default.- Add common
MapInteraction
APIs toStandardStyleInteractionsState
:.onFeaturesetClicked
,.onLayerClicked
,.onFeaturesetLongClicked
,.onLayerLongClicked
,.onMapClicked
,.onMapLongClicked
. - Add
StyleInteractionsState
toMapboxStandardSatelliteStyle
so interactions can be used with the satellite style.
- Add common
- [compose] Rename experimental
ExperimentalStandardStyleState
toStandardStyleState
, rename experimentalMapboxStandardStyleExperimental
toMapboxStandardStyle(styleImportsContent, topSlot, middleSlot, bottomSlot, standardStyleState)
, and deprecate previousMapboxStandardStyle
composable functions. - Expose new experimental camera event
MapboxMap.subscribeCameraChangedCoalesced
,MapboxMap.cameraChangedCoalescedEvents
. - [compose] Expose new camera event
MapState.cameraChangedCoalescedEvents
- Introduce custom layer matrices API
CustomLayerMapProjection
inCustomLayerRenderParameters
for globe projection. - Introduce
minZoom
andmaxZoom
properties forCircleAnnotationManager
,PointAnnotationManager
,PolygonAnnotationManager
,PolylineAnnotationManager
. - Introduce experimental
worldview
expression. - [compose] Introduce
minZoom
andmaxZoom
properties forCircleAnnotationGroupState
,PointAnnotationGroupState
,PolygonAnnotationGroupState
,PolylineAnnotationGroupState
. - [compose] Add config option
showLandmarkIcons
toMapboxStandardStyle
. - Improve the performance of
MapboxMap.cameraForCoordinates(...)
for large amounts of points.
Bug fixes 🐞
- Fix elevated lines rendering regression.
- Do not write errors to logs if event was not send because events are disabled.
- Fixed incorrect placement for symbols with symbol-z-elevate on Globe projection.
- Elevated symbol heights now change as smooth as building heighs.
- Fixing unstable placement for elevated symbols.
- Respect config expressions in filter.
- Fix symbol order with symbol-z-elevate true and symbol-z-order viewport-y.
- Fix issue that promoteId content is missing after vector source serialization.
- Fixed disappearing volatile tiles on camera changes in offline mode when
maximumStaleInterval
is set. - Resolved frequent DVA repositioning issues.
- Fixed fill patterns for elevated roads.
- Tiles are now properly reloaded when the language setting is removed.
- Limited the collision grid size for view annotations to improve performance.
- Fix location indicator bearing animation update being missing in some occasions.
- Fix a bug where
cameraForCoordiantes
with screen box oscillates when initial zoom is close to set max zoom. - Skip unneeded tiles relayout when landmark icons get enabled.
- Fix a crash in disk cache code when fetching a high-zoom (z > 16) tile.
Dependencies
- Update gl-native to v11.13.0, common to 24.13.0.
v11.12.4
11.12.4 June 12, 2025
Bug fixes 🐞
- Fix location indicator bearing animation update being missing in some occasions.
Dependencies
- Update gl-native to v11.12.4 and common to v24.12.4.