Callout
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.
Note: Only one Callout can be displayed at a time on the GeoView.
Since
200.5.0
Parameters
the geographical location at which to display the Callout
Modifier to be applied to the composable Callout
the content of the Callout
the offset in screen coordinates from the geographical location at which to place the callout
specifies whether the screen offset is rotated with the GeoView. The Screen offset will be rotated with the GeoView when true, false otherwise. This is useful if you are showing the callout for elements with symbology that does rotate with the GeoView
the styling options for the Callout's color properties
the styling options for the Callout's container shape
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.
If the given geoelement is a DynamicEntity then the Callout automatically updates its location everytime the DynamicEntity changes. The content of the Callout however will not be automatically updated.
Note: Only one Callout can be displayed at a time on the MapView.
Since
200.5.0
Parameters
the GeoElement for which to display the Callout
Modifier to be applied to the composable Callout
a Point the user has tapped, or null if the Callout is not associated with a tap
the styling options for the Callout's shape and color properties
the styling options for the Callout's container shape
the content of the Callout