-
Notifications
You must be signed in to change notification settings - Fork 75
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
Layers should have visible and selectionAPI functions #674
Comments
A We currently have an Once a layer is created, we don't have an API for changing the Should a Or should |
PR #682 adds |
Added in PR #682. |
We can toggle the visibility and interactivity of individual features with the visible() and selectionAPI() functions. It would be nice if these were exposed for layers, so an entire layer (regardless of type) could be hidden or selections disabled (though the interaction option might only be appropriate for feature layers).
Currently, you can hide a layer by changing is opacity, but it still interacts and renders.
The text was updated successfully, but these errors were encountered: