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
When map style is changed, layers are removed (even with clearSource: false option) and the new style loads without the previous layer. Geojson features do not display, despite their sources remaining.
mapbox-gl.js?e192:29 Error: The layer 'my-layer' does not exist in the map's style and cannot be queried for features.
Should there be a layer method for reload? Only remove, and move exist currently.
The text was updated successfully, but these errors were encountered:
When map style is changed, layers are removed (even with
clearSource: false
option) and the new style loads without the previous layer. Geojson features do not display, despite their sources remaining.Should there be a layer method for reload? Only remove, and move exist currently.
The text was updated successfully, but these errors were encountered: