react-three-map
react-three-map copied to clipboard
Layer with id "jsx-layer-0" already exists on this map
With the new mapbox-gl 3.5.2 version I keep getting error Layer with id "jsx-layer-0" already exists on this map" that is triggered by Canvas from react-three-map. By using mapbox-gl version 3.5.1 everything is ok.
@Igor-Vuk would you be able to provide a sandbox to reproduce?
You can start by forking from this one: https://codesandbox.io/p/sandbox/react-three-map-gettings-started-dhw34w
Thanks!
seams to be fixed with the latest version of mapbox-gl 3.6.0