-
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
queryRenderedFeatures and layer visibility #2402
Comments
Maybe make this an option of |
Non-visible layers are, by definition, not rendered. Therefore they shouldn't be returned by |
The main use case would probably be something like #2400. If we never return hidden features, there's just no workaround for this. |
We talked about this a bit on #2106 |
I ran into this same problem, as a workaround i've set |
Should the interactive property of layers have any effect on the results of queryRenderedFeatures? I apologize if this is considered too far off topic. |
Closing per #2402 (comment). @jordandudley The introduction of queryRenderedFeatures obsoleted the |
Does
queryRenderedFeatures
return features if their layer'svisibility
isnone
?Should it return features if that's the case?
The text was updated successfully, but these errors were encountered: