LocalSceneViewScope

The receiver class of the LocalSceneView content lambda.

Since

300.0.0

Functions

Link copied to clipboard
fun Callout(geoElement: GeoElement, modifier: Modifier = Modifier, tapLocation: Point? = null, leaderPosition: LeaderPosition = LeaderPosition.LowerMiddle, 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, leaderPosition: LeaderPosition = LeaderPosition.LowerMiddle, 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.

Link copied to clipboard

Marks a composable inside the GeoView trailing lambda content as the preferred initial focus target when toolkit accessibility focus handoff moves focus from the GeoView into the content. This is useful for content such as a Callout where initial focus should land on the first meaningful child rather than the underlying GeoView.