Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wonderchook opened this issue May 17, 2018 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@wonderchook
Copy link

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.

@justenPalmer justenPalmer self-assigned this May 18, 2018
@ARolek
Copy link
Member

ARolek commented May 24, 2018

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

@ARolek ARolek added the bug Something isn't working label May 24, 2018
@justenPalmer
Copy link
Collaborator

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

@ARolek
Copy link
Member

ARolek commented May 25, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants