Open
Description
Description
On Safari, maps from Mapbox have a lot of issues that make this package unusable :
- The layers don't appear
- The styles are not loading properly
Here is a very minimal MRE using Safari 18.3.1
const App = (): JSX.Element => {
return (
<Map
mapboxAccessToken={TOKEN}
mapStyle="mapbox://styles/mapbox/dark-v9">
</Map>
);
}
const container = document.getElementById("root");
const root = createRoot(container);
root.render(
<StrictMode>
<App />
</StrictMode>
Results with some different styles :
With mapStyle="mapbox://styles/mapbox/dark-v9"

With mapStyle="mapbox://styles/mapbox/standard"
:

With mapStyle="mapbox://styles/mapbox/streets-v12"

Expected Behavior
The map should work normally on Safari
Steps to Reproduce
- Copy paste the code above
- Launch Safari and try it
Environment
- Framework version: [email protected]
- Map library: [email protected]
- Browser: Safari 18.3.1
- OS: MacOS 15.3.2
Logs
No response