MapAttributionScope

Functions

Link copied to clipboard
fun Attribution(modifier: Modifier = Modifier, contentPadding: PaddingValues = PaddingValues(92.dp, 4.dp, 4.dp, 4.dp), alignment: Alignment = Alignment.BottomStart, iconColor: Color = Color(0xFF1E8CAB), attributionDialog: @Composable (attributions: List<Attribution>, onDismissRequest: () -> Unit, onAttributionClick: (Attribution) -> Unit) -> Unit = { attributions, onDismissRequest, onAttributionClick -> AttributionDialog( attributions = attributions, onDismissRequest = onDismissRequest, onAttributionClick = onAttributionClick ) }, telemetryDialog: @Composable (onDismissRequest: () -> Unit, onMoreInfo: () -> Unit, onDisagree: () -> Unit, onAgree: () -> Unit) -> Unit = { onDismissRequest, onMoreInfo, onDisagree, onAgree -> TelemetryDialog( onDismissRequest = onDismissRequest, onMoreInfo = onMoreInfo, onDisagree = onDisagree, onAgree = onAgree ) })

Add a Attribution ornament to the map.

Link copied to clipboard
fun AttributionDialog(attributions: List<Attribution>, onDismissRequest: () -> Unit, onAttributionClick: (attribution: Attribution) -> Unit)

Build an AttributionDialog to be added to the Attribution ornament.

Link copied to clipboard
fun TelemetryDialog(onDismissRequest: () -> Unit, onMoreInfo: () -> Unit, onDisagree: () -> Unit, onAgree: () -> Unit)

Build an TelemetryDialog to be added to the AttributionDialog when telemetry settings is clicked.