Skip to content

[Bug]: MarkerView disappears when rendered near a LocationPuck #4238

Description

@W1MMER

Mapbox Version

11.20.1

React Native Version

0.79.1

Platform

iOS

@rnmapbox/maps version

10.3.0-rc.0

Standalone component to reproduce

import React from 'react';
import { Text, View } from 'react-native';
import { Camera, LocationPuck, MapView, MarkerView } from '@rnmapbox/maps';

export default function RNMapboxMarkerViewScreen() {
  const location = [0, 0]; // change this to reproduce

  return (
    <MapView projection="mercator" style={{ flex: 1 }}>
      <Camera
        centerCoordinate={location}
        zoomLevel={10}
        animationDuration={0}
      />

      <LocationPuck
        visible={true}
        puckBearingEnabled
        puckBearing="heading"
      />

      <MarkerView
        id="mv"
        coordinate={location}
      >
        <View style={{
          padding: 20,
          backgroundColor: '#FFF',
        }}>
          <Text>Marker View</Text>
        </View>
      </MarkerView>
    </MapView>
  );
}

Observed behavior and steps to reproduce

We're seeing MarkerView's hiding from the map anytime they collide with the user's LocationPuck. Having the LocationPuck mounted but with visible={false} makes the MarkerView behave correctly.

ScreenRecording_06-28-2026.22-01-47_1.MP4

Expected behavior

The MarkerView's should stay visible and render on top of the user's LocationPuck.

Notes / preliminary analysis

This only happens on iOS with the new architecture and @rnmapbox 10.3.X. We have not seen this issue on 10.1.X with Mapbox V11, and we're unsure if this bug exists in 10.2.X. This occurs in both standalone React Native apps and Expo apps.

Additional links and references

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🪲Something isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions