AttributionLinks

@Composable
fun AttributionLinks(    attributions: List<String>,     linkStyles: TextLinkStyles? = AttributionButtonDefaults.linkStyles(),     spacing: Dp = 8.dp,     breakWithinAttribution: Boolean = false,     modifier: Modifier = Modifier)(source)

A composable function that displays a collection of attribution links as a flow layout.

Parameters

attributions

A list of HTML strings representing the attributions that need to be displayed as links. See: dev.sargunv.maplibrecompose.core.source.Source.attributionHtml.

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.