MapAttributionScope

A MapAttributionScope provides a scope for adding Attribution ornament.

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 ) })
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 ) }, geofencingConsentDialog: @Composable (onDismissRequest: () -> Unit, onDisagree: () -> Unit, onAgree: () -> Unit, currentUserConsent: Boolean) -> Unit = { onDismissRequest, onDisagree, onAgree, currentUserConsent -> GeofencingConsentDialog( onDismissRequest = onDismissRequest, onDisagree = onDisagree, onAgree = onAgree, currentUserConsent = currentUserConsent, ) })

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 GeofencingConsentDialog(onDismissRequest: () -> Unit, onDisagree: () -> Unit, onAgree: () -> Unit, currentUserConsent: Boolean)

Build a GeofencingConsentDialog to be added to the AttributionDialog when geofencing settings is clicked.

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

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