fresco icon indicating copy to clipboard operation
fresco copied to clipboard

If you add two layers that are the exact same except different ids nothing appears.

Open wonderchook opened this issue 7 years ago • 3 comments

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.

wonderchook avatar May 17 '18 21:05 wonderchook

I just hit this error as well. We should restrict adding 2 layers with the same id.

ARolek avatar May 24 '18 20:05 ARolek

@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?

justenPalmer avatar May 25 '18 04:05 justenPalmer

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.

ARolek avatar May 25 '18 05:05 ARolek