-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Support array of layers for map.on #5211
Comments
See #4578 for why we elected not to support this. |
Ok, thanks for the link.
|
The documentation makes it seem like this is now a feature but it does not work for me. I have "mapbox-gl": "1.6.1". |
@Stephane-Ag You are many major versions behind the latest release. |
@stevage I know that which is why I included my version. That answer does not help with either of my questions. |
Currently you can do this:
But if you want the same behaviour on multiple layers, you can't do it directly:
It would seem reasonable to expect to be able to do:
The text was updated successfully, but these errors were encountered: