AttributionLinks
fun AttributionLinks(attributions: List<String>, modifier: Modifier = Modifier, textStyle: TextStyle = MaterialTheme.typography.bodyMedium, linkStyles: TextLinkStyles? = AttributionButtonDefaults.linkStyles(), spacing: Dp = 8.dp, breakWithinAttribution: Boolean = false)(source)
A composable function that displays a collection of attribution links as a flow layout, styled from the Material 3 theme.
Parameters
attributions
A list of HTML strings representing the attributions that need to be displayed as links. See: org.maplibre.compose.sources.Source.attributionHtml.
textStyle
Style of the attribution text.
linkStyles
Optional style for hyperlinks. Default is primary color and underlined.
spacing
The horizontal spacing between items in the flow layout.
breakWithinAttribution
Whether the text within an individual attribution should break lines or scroll horizontally. Line breaks may still be inserted between attributions even when this is true.