79797778

Date: 2025-10-23 12:25:13
Score: 1.5
Natty:
Report link

Since you're using vanilla React Native CLI with the old architecture, the solution is different. Here are the most common causes for markers not showing on Android CLI projects:

Quick Checks:

// Won't render
coordinate={{ latitude: "28.6139", longitude: "77.2090" }}
// Will render
coordinate={{ latitude: parseFloat(data.lat), longitude: parseFloat(data.lng) }}
const [region, setRegion] = useState({
  latitude: 37.78825,
  longitude: -122.4324,
  latitudeDelta: 0.0922,
  longitudeDelta: 0.0421,
});

<MapView region={region} onRegionChangeComplete={setRegion}>
  <Marker coordinate={coords} />
</MapView>
const [mapReady, setMapReady] = useState(false);

<MapView onMapReady={() => setMapReady(true)}>
  {mapReady && locations.map((loc, i) => (
    <Marker key={String(i)} coordinate={loc.coordinates} />
  ))}
</MapView>

Can you share: (1) your marker rendering code, (2) a sample of your API data structure, and (3) whether you're using Google Maps API key in AndroidManifest.xml? This will help pinpoint the exact issue.

Reasons:
  • Whitelisted phrase (-1): solution is
  • RegEx Blacklisted phrase (2.5): Can you share
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: UNKNOWN GUY