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

Layer Change Event #13

Open
stdavis opened this issue Mar 21, 2019 · 1 comment
Open

Layer Change Event #13

stdavis opened this issue Mar 21, 2019 · 1 comment
Labels
enhancement New feature or request layer-selector all things base map changing

Comments

@stdavis
Copy link
Member

stdavis commented Mar 21, 2019

Is your feature request related to a problem? Please describe.
There's no way to know when the base map has changed from outside of this widget.

Describe the solution you'd like
I'd like an event that I could subscribe to that allows me to know when layer visibility has been changed.

@steveoh
Copy link
Member

steveoh commented Mar 21, 2019

I imagine that enhancement would be somewhere around

https://github.com/agrc-widgets/layer-selector/blob/master/LayerSelector.js#L388

@steveoh steveoh transferred this issue from agrc/layer-selector Jan 14, 2020
@steveoh steveoh added the layer-selector all things base map changing label Jan 14, 2020
@steveoh steveoh added the enhancement New feature or request label Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request layer-selector all things base map changing
Projects
None yet
Development

No branches or pull requests

2 participants