Mapbox Implementation
Mapbox
Mapbox Version
10.1.39
React Native Version
0.79.3
Platform
iOS, Android
@rnmapbox/maps version
10.1.39
Standalone component to reproduce
import Mapbox from "@rnmapbox/maps";
Mapbox.setAccessToken("pk.ey");
export default function Index() {
return (
<View style={styles.container}>
<Mapbox.MapView
style={styles.map}
styleURL="mapbox://styles" // Mapbox Studio Custom style - BLACK MAP
// styleURL="mapbox://styles" // Mapbox Studio Classic style - WORKS FINE
>
</Mapbox.MapView>
</View>
);
}
Observed behavior and steps to reproduce
Custom Mapbox styles created in Mapbox Studio display as a black map in React Native app, while classic/default Mapbox styles load and render correctly.
Expected behavior
Custom Mapbox styles should load and render the same way classic styles do.
Notes / preliminary analysis
No response
Additional links and references
No response
Mapbox Implementation
Mapbox
Mapbox Version
10.1.39
React Native Version
0.79.3
Platform
iOS, Android
@rnmapbox/mapsversion10.1.39
Standalone component to reproduce
Observed behavior and steps to reproduce
Custom Mapbox styles created in Mapbox Studio display as a black map in React Native app, while classic/default Mapbox styles load and render correctly.
Expected behavior
Custom Mapbox styles should load and render the same way classic styles do.
Notes / preliminary analysis
No response
Additional links and references
No response