mapbox-maps-flutter
mapbox-maps-flutter copied to clipboard
PlatformException - StyleError - Source is not in style
Hi guys, I have worked with this package and I get this error.
PlatformException (PlatformException(StyleError(rawValue: "Source default is not in style"), null, null, null))
I use this function to get the source:
await mapboxMap.style.getSource('source_name');
what's wrong?
i am still getting the error
I'm also getting this error
Hi, could you provide a bit more information to help debug?
- Which Maps SDK version are you using?
- Which style are you using? And how did you add the source to map's style? If possible, a simple program to reproduce the issue would be much appreciated. Thank you