We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mapbox
10.7.0
0.70.6
Android
@rnmapbox/maps
10.1.25
if (maybeWaypoint) { return ( <PointAnnotation key={'waypoint'} id={'waypoint'} coordinate={[ maybeWaypoint.telemetry.coordinate.longitude, maybeWaypoint.telemetry.coordinate.latitude, ]} anchor={{ x: 0.5, y: 0.5 }} style={styles.marker} > <Callout title="Waypoint" style={{ backgroundColor: 'white', width: 140, borderRadius: 8 }} > <View style={{ flex: 1, padding: 5, alignItems: 'center' }}> <Text style={{ textAlign: 'center', fontFamily: FONTS.AVENIR.BLACK, color: COLORS.TITLE_BLACK, fontSize: 14, }} > {'Way Point'} <Text style={{ textAlign: 'center', fontFamily: FONTS.AVENIR.MEDIUM, color: COLORS.TITLE_SECTION, fontSize: 12, }} > {maybeWaypointDescription} ) }
If my callout is open for Point annotation and my annotation is removed from the the Map, the Callout stays and doesn't get clear.
The Callout should clear when annotation is removed from Map
No response
The text was updated successfully, but these errors were encountered:
No code example found in issue body - More info
Sorry, something went wrong.
No branches or pull requests
Mapbox Implementation
Mapbox
Mapbox Version
10.7.0
React Native Version
0.70.6
Platform
Android
@rnmapbox/maps
version10.1.25
Standalone component to reproduce
if (maybeWaypoint) {
return (
<PointAnnotation
key={'waypoint'}
id={'waypoint'}
coordinate={[
maybeWaypoint.telemetry.coordinate.longitude,
maybeWaypoint.telemetry.coordinate.latitude,
]}
anchor={{ x: 0.5, y: 0.5 }}
style={styles.marker}
>
<Callout
title="Waypoint"
style={{ backgroundColor: 'white', width: 140, borderRadius: 8 }}
>
<View style={{ flex: 1, padding: 5, alignItems: 'center' }}>
<Text
style={{
textAlign: 'center',
fontFamily: FONTS.AVENIR.BLACK,
color: COLORS.TITLE_BLACK,
fontSize: 14,
}}
>
{'Way Point'}
<Text
style={{
textAlign: 'center',
fontFamily: FONTS.AVENIR.MEDIUM,
color: COLORS.TITLE_SECTION,
fontSize: 12,
}}
>
{maybeWaypointDescription}
)
}
Observed behavior and steps to reproduce
If my callout is open for Point annotation and my annotation is removed from the the Map, the Callout stays and doesn't get clear.
Expected behavior
The Callout should clear when annotation is removed from Map
Notes / preliminary analysis
No response
Additional links and references
No response
The text was updated successfully, but these errors were encountered: