You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Toggle between styles using Style1 / Style2 buttons. This will cause the following error to be written to the console:
Mapbox [error] RNMBXLayer.removeFromMap: removing layer failed for layer Style N-raster: Layer Style N-raster does not exist
Skarminspelning.2024-05-31.kl.08.44.43.mov
Expected behavior
No error should happen when switching styles
Notes / preliminary analysis
It's related to using a raster source (or possibly other source) when switching map styles. Possibly mapbox tries to remove the layer too late, causing the error.
Additional links and references
No response
The text was updated successfully, but these errors were encountered:
Mapbox Implementation
Mapbox
Mapbox Version
10.17.0
React Native Version
0.74.1
Platform
iOS
@rnmapbox/maps
version10.1.24
Standalone component to reproduce
Observed behavior and steps to reproduce
Toggle between styles using Style1 / Style2 buttons. This will cause the following error to be written to the console:
Skarminspelning.2024-05-31.kl.08.44.43.mov
Expected behavior
No error should happen when switching styles
Notes / preliminary analysis
It's related to using a raster source (or possibly other source) when switching map styles. Possibly mapbox tries to remove the layer too late, causing the error.
Additional links and references
No response
The text was updated successfully, but these errors were encountered: