If you add two layers that are the exact same except different ids nothing appears.
I created two layers using the same style and data source, but a different id. When you do this the layer is not rendered on the map.
I'm not sure why someone would want two of the same layers on purpose, but at least an error should show up.
I just hit this error as well. We should restrict adding 2 layers with the same id.
@ARolek, I think the issue above was when two layers are added with different IDs. Should I make a new issue for if two layers with the same IDs are added?
Hmm. I misread the issue. Having two layers with the same style and different ideas does not seem like a big to me. But yes, a separate issue with the two layers with the same id should be opened.