Attribution State
Complete attribution state containing both attribution data and user consent preferences.
This data class combines attribution information (such as data sources and copyright notices) with user consent settings, enabling comprehensive attribution management for custom UI implementations that need to display both attribution and handle user consent.
State Management
Contains current attribution list from active map style and data sources
Includes telemetry and geofencing consent states
Use with AttributionControl for programmatic state management
Telemetry and Privacy
Your users should be in charge of their own location data and when it is shared. By default, whenever your application causes the user's location to be gathered, it sends de-identified location and usage data to Mapbox. If you're developing a native app with one of the Mapbox mobile SDKs, our terms of service require that you provide a telemetry opt-out option within your app for all end users. The default attribution control includes an opt out button. If you hide the attribution control, 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.
See guide for more info.