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:
Markers must be inside <MapView> - Ensure your <Marker> components are children of <MapView>, not siblings​
Coordinate data types - Latitude/longitude must be numbers, not strings :
// Won't render
coordinate={{ latitude: "28.6139", longitude: "77.2090" }}
// Will render
coordinate={{ latitude: parseFloat(data.lat), longitude: parseFloat(data.lng) }}
region instead of initialRegion :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>
onMapReady :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.