-
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
featuresIn doesn't return features from non-visible layers #1785
Comments
+1. My use case is that I am revealing a layer that was previously hidden and want it's features in the viewport at that moment, however if I call |
I want to use this to "flyTo" the coordinates of a feature that is filtered to be hidden. Is there no way to get a reference to a hidden feature? |
@CodeCommander Not yet but it'll be added in #2052 |
Non-visible features are now queryable via |
Related to #582
Here's a working demo which filters out Landsat scenes based on a selected region: https://gist.github.com/drewbo/9700ea2eb3ca9e9b83fb
It fails (stops returning features in the
featuresIn
callback) if fill-opacity is set to 0 or iflayout.visibility === none
The text was updated successfully, but these errors were encountered: