Skip to main content

Callout

import { Callout } from '@rnmapbox/maps';

Callout

Callout that displays information about a selected annotation near the annotation.

props

title

string

required String that gets displayed in the default callout.

style

ViewStyle

Style property for the Animated.View wrapper, apply animations to this

containerStyle

ViewStyle

Style property for the native RNMBXCallout container, set at your own risk.

contentStyle

ViewStyle

Style property for the content bubble.

tipStyle

ViewStyle

Style property for the triangle tip under the content.

textStyle

ViewStyle

Style property for the title in the content bubble.