-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
add in-place source addition support in addLayer #3857 #3861
Conversation
Thanks for your contribution @stepankuzmin!! This looks good to me, but I will let @mourner @lucaswoj give it some 👀 before ✅ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this. The only potential concern is that the passed layerObject
is edited in place, which might be unexpected by users.
Another approach is to support |
@mourner Just added a commit which clones rather than mutates |
Great! Thanks! |
TY @stepankuzmin 😄 |
I've identified a some follow-ups which I'll ticket out separately:
|
Hi there, @mourner and @lucaswoj! Is this a correct approach to #3857?