Callout
Callout(
__namedParameters):Element
Defined in: packages/expo-arcgis/src/Callout.tsx:98
The SDK’s callout: React content its <MapView> or <SceneView> shows in a bubble pointing at a
location or a geo element. It shows while it is mounted and has somewhere to point; a view shows
one at a time. Place it directly inside the view.
<MapView style={{ flex: 1 }} onTap={({ nativeEvent }) => setPicked(nativeEvent.mapPoint)}> {picked && ( <Callout location={picked}> <Text>{picked.latitude.toFixed(4)}, {picked.longitude.toFixed(4)}</Text> </Callout> )}</MapView>Parameters
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”PropsWithChildren<CalloutProps>
Returns
Section titled “Returns”Element