mapbox-maps-flutter icon indicating copy to clipboard operation
mapbox-maps-flutter copied to clipboard

PlatformException - StyleError - Source is not in style

Open favazHF opened this issue 2 years ago • 3 comments

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?

favazHF avatar Aug 16 '23 23:08 favazHF

i am still getting the error

alladyaditi avatar Aug 07 '24 20:08 alladyaditi

I'm also getting this error

samyro avatar Dec 03 '24 15:12 samyro

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

maios avatar Jul 23 '25 13:07 maios