TypeError: Converting circular structure to JSON occurs when using any map-gl-utils with mapbox-gl v3.6.0
mapbox-gl.js?v=be7c18f5:26206 Uncaught (in promise) TypeError: Converting circular structure to JSON
--> starting at object with constructor 'Object'
--- property 'data' closes the circle
at JSON.stringify (
I have this too. It looks like style.sources[id] = sourceDef as part of addSource(id, sourceDef)
I haven't come across this, do you have a repro case?