SceneViewScope

The receiver class of the SceneView content lambda.

Since

200.5.0

Functions

Link copied to clipboard
fun Callout(geoElement: GeoElement, modifier: Modifier = Modifier, tapLocation: Point? = null, colorScheme: CalloutColors = CalloutDefaults.colors(), shapes: CalloutShapes = CalloutDefaults.shapes(), content: @Composable BoxScope.() -> Unit)

Creates a Callout at the specified geoElement or the tapLocation location on the MapView. The Callout is a composable that can be used to display additional information about a location on the map. The additional information is passed as a content composable that contains text and/or other content. It has a leader that points to the location that Callout refers to. The body of the Callout is a rectangular area with curved corners that contains the content lambda provided by the application. A thin border line is drawn around the entire Callout.

fun Callout(location: Point, modifier: Modifier = Modifier, offset: Offset = Offset.Zero, rotateOffsetWithGeoView: Boolean = false, colorScheme: CalloutColors = CalloutDefaults.colors(), shapes: CalloutShapes = CalloutDefaults.shapes(), content: @Composable BoxScope.() -> Unit)

Displays a Callout at the specified geographical location on the GeoView. The Callout is a composable that can be used to display additional information about a location on the map. The additional information is passed as a content composable that contains text and/or other content. It has a leader that points to the location that Callout refers to. The body of the Callout is a rectangular area with curved corners that contains the content lambda provided by the application. A thin border line is drawn around the entire Callout.