Releases: mapbox/mapbox-maps-android
Releases · mapbox/mapbox-maps-android
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.
v11.12.0-rc.1
11.12.0-rc.1 April 24, 2025
Bug fixes 🐞
- Fix map flickering caused by the fill-extrusion pan tiles and missing stencil in 3D layers.
Features ✨ and improvements 🏁
- 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
)
Dependencies
- Update gl-native to v11.12.0-rc.1 and common to v24.12.0-rc.1.
v11.12.0-beta.1
11.12.0-beta.1 April 09, 2025
Features ✨ and improvements 🏁
- 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. - Enable tile pack v2 format by default.
Bug fixes 🐞
- 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-beta.1 and common to v24.12.0-beta.1.
v11.11.0
11.11.0 March 26, 2025
Features ✨ and improvements 🏁
- Support for landmark icons. Landmark icons are stylized, uniquely designed POI icons that indicate the most popular and recognizable landmarks on the map.
- Support expression input for
PromoteId
. - Add a setting that allows geofencing users with Android <= 28 to access background locations. Add
mapbox-location-config.xml
file with the following content:
<resources>
<bool name="com.mapbox.common.location.sdk28_use_background_permissions">true</bool>
</resources>
- Add
Expression
support for*UseTheme
style properties to override color theme for particular color properties in all layers. - Add experimental
*UseTheme
support for annotations andLocationPuck3D
. - Introduce experimental
Style.setImportColorTheme
, which allows changing the color theme of the style import. - [compose] Introduce experimental
StyleImportState.styleColorTheme
which allows changing the color theme of the style import. - Conflate
MapboxMap.mapLoadedEvents
,MapboxMap.mapLoadingErrorEvents
,MapboxMap.styleLoadedEvents
,MapboxMap.styleDataLoadedEvents
,MapboxMap.cameraChangedEvents
,MapboxMap.mapIdleEvents
,MapboxMap.sourceAddedEvents
,MapboxMap.sourceRemovedEvents
,MapboxMap.sourceDataLoadedEvents
,MapboxMap.styleImageMissingEvents
,MapboxMap.styleImageRemoveUnusedEvents
,MapboxMap.renderFrameStartedEvents
,MapboxMap.renderFrameFinishedEvents
,MapboxMap.resourceRequestEvents
by default to avoid blocking main thread due to slow collectors.
Bug fixes 🐞
- Fix annotation drag being triggered when multi-finger gesture is in progress.
- Fix missing vector images after style change.
- Ensure background color is correctly set.
- Fix background layer not being updated if raster image was updated in-place or if color theme changed.
- Trigger DVA replacement if zoom diff is big.
- Fix line placement symbol disappearing issue when in zoom level 5.
- Place view annotation away from camera when pitch > 45.
- Fix dark shades of gradient effect in night preset.
- Fix Custom Raster Source behavior on re-creation.
- Change unreachable connection retries to use exponential backoff.
- Fixed incorrect rgba to hsla conversion for white color.
- Fix vector images rasterization.
- Make katakana and CJK symbol rendered correctly in vertical writing mode.
- Fix a bug that may cause style packs to be either inaccessible or incorrect when updating an older tile store database created with Maps SDK 11.9 or earlier versions. In systems that have already used Maps SDK 11.10.0 through 11.10.2, a re-download of style packs may be necessary.
- Fix a map start time regression by speed up tile loading.
Dependencies
- Update gl-native to v11.11.0 and common to v24.11.0.