You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix https://mapbox.atlassian.net/browse/MAPSAND-1773
This PR introduces a low-level, UI-less `AttributionControl` composable
function. The function exposes the newly centralized `AttributionState`,
which encapsulates:
* The list of necessary map attributions.
* The Mapbox Telemetry opt-in state.
* The geofencing consent state.
# Rationale & Compliance
This change allows developers to take full control over building the
attribution user experience (UX) within their application.
This is crucial for maintaining compliance with Mapbox's public
documentation on Telemetry:
> "The default attribution control includes an opt out button. If you
hide the [attribution
control](https://docs.mapbox.com/help/dive-deeper/attribution/), you
must provide an alternative opt out method your users can use. You are
responsible for allowing your users to opt out of Mapbox Telemetry."
By providing access to the raw `AttributionState`, we ensure that users
who opt to build a custom UI can easily access and implement the
necessary Telemetry opt-out and geofencing consent mechanisms,
satisfying the legal requirement.
This PR also adds an example to showcase the Attribution Customisation:
cc @mapbox/maps-android
cc @mapbox/sdk-ci
GitOrigin-RevId: 79eeb4515577432782d464d3e02789aedc67a249
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,12 +9,14 @@ Mapbox welcomes participation and contributions from everyone.
9
9
## Breaking changes ⚠️
10
10
* Remove line-cutout-width and change line-cutout-opacity default to 1.0
11
11
12
+
## Features ✨ and improvements 🏁
12
13
* Add Standard Style color and 3D configuration options: `colorBuildings`, `colorCommercial`, `colorEducation`, `colorIndustrial`, `colorLand`, `colorMedical`, `colorSnow`, `show3dBuildings`, `show3dFacades`, `show3dLandmarks`, and `show3dTrees`.
14
+
* Introduce experimental `AttributionControl` composable function that exposes `AttributionState` programmatically, enabling developers to build custom Attribution UI outside of the map while maintaining compliance with [Mapbox ToS](https://www.mapbox.com/legal/tos) requirements.
15
+
13
16
# 11.17.0 December 04, 2025
14
17
## Dependencies
15
18
* Update gl-native to [v11.17.0](https://github.com/mapbox/mapbox-maps-android/releases/tag/v11.17.0), common to [v24.17.0](https://github.com/mapbox/mapbox-maps-android/releases/tag/v11.17.0).
16
19
17
-
18
20
# 11.17.0-rc.3 November 28, 2025
19
21
## Features ✨ and improvements 🏁
20
22
* Promote Geofencing APIs to stable, remove `MapboxExperimental` annotations from Geofencing APIs.
0 commit comments