Releases: mapbox/mapbox-maps-android
Releases · mapbox/mapbox-maps-android
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.
v11.12.3
11.12.3 June 05, 2025
Features ✨ and improvements 🏁
- Improve the performance of
MapboxMap.cameraForCoordinates(...)
for large amounts of points.
Bug fixes 🐞
- Fix a crash in disk cache code when fetching a high-zoom (z > 16) tile.
- Fix a bug where cameraForCoordiantes with screen box oscillates when initial zoom is close to set max zoom.
Dependencies
- Update gl-native to v11.12.3 and common to v24.12.3.
v11.13.0-rc.1
11.13.0-rc.1 June 03, 2025
Features ✨ and improvements 🏁
- Introduce custom layer matrices API
CustomLayerMapProjection
inCustomLayerRenderParameters
for globe projection. - Introduce
minZoom
andmaxZoom
properties forCircleAnnotationManager
,PointAnnotationManager
,PolygonAnnotationManager
,PolylineAnnotationManager
. - [compose] Introduce
minZoom
andmaxZoom
properties forCircleAnnotationGroupState
,PointAnnotationGroupState
,PolygonAnnotationGroupState
,PolylineAnnotationGroupState
. - [compose] Add config option
showLandmarkIcons
toMapboxStandardStyle
.
Bug fixes 🐞
- 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.
Dependencies
- Update gl-native to v11.13.0-rc.1, common to 24.13.0-rc.1.
v11.12.2
v11.13.0-beta.1
11.13.0-beta.1 May 19, 2025
Breaking changes ⚠️
PointAnnotation.iconImageCrossFade
has been deprecated and setting value to it will not have any impact. UsePointAnnotationManager.iconImageCrossFadeTransition
instead.
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
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.
Dependencies
- Update gl-native to v11.13.0-beta.1, common to 24.13.0-beta.1.
v11.12.1
v11.11.1
v11.12.0
11.12.0 May 7, 2025
Features ✨ and improvements 🏁
- Mapbox Geofencing is now available in public preview. Follow the documentation and code examples for Android and iOS to get started.
- Avoid fetching pixelRatio from gl-native while rendering scalebar to improve CPU usage.
- Promote
MapView.attribution.getMapAttributionDelegate().extraAttributions
to stable. - Expose an experimental API to define a non-rectangular screen culling shape(
MapboxMap.get/setScreenCullingShape
) - Introduce experimental
colorUseTheme
API forAmbientLight
,DirectionalLight
, andFlatLight
to override color theme of light. - [compose] Introduce experimental
colorUseTheme
API forAmbientLightState
,DirectionalLightState
, andFlatLightState
to override color theme of light. - [compose] Introduce experimental
vignetteColorUseTheme
andcolorUseTheme
forRainState
andSnowState
which allows overriding color theme of precipitations. - [compose] Annotate
rememberGeoJsonSourceState
as delicate API due to performance implications when used with large GeoJsonData. - Avoid dynamic view annotation overlapping given symbol layers.
- Vector icons can now also be retrieved via
getStyleImage
API. - Revert changes to
at
expression and add newat-interpolated
expression.
Bug fixes 🐞
- Fixed a crash that occurred when a runtime-added unused image was removed and later reused.
*-sort-key
properties now uses double, fixing incorrect sorting with big key values- Fix registering camera change listener every time
mapView.scalebar.enabled
is called with valuetrue
and it was already enabled. - Fix map flickering caused by the fill-extrusion pan tiles and missing stencil in 3D layers.
- Fix semi transparent landmark icons.
- Return null for config expression if requested config option is missing.
- Fix clipPath and mask rendering for vector icon rasterization.
- Fix dotted lines on tile borders.
- Fix pattern not found when using imports.
- Fix line layer not rendering if using
line-pattern
inside an imported style. - Fix ground effect gradient not working with multiple polygons.
- Add simple bounds check to avoid crash during centroid computation.
- Fix invisible line when interpolating line-width from 0 to 1 using line-progress.
- Tile loading speedup.
- Fix URL migration to DB v10.
Dependencies
- Update gl-native to v11.12.0 and common to v24.12.0.