-
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
querySourceFeatures w/ 'within' filter returns no results #10087
Comments
Yep, this has been resolved since the last release of GL JS. We're planning a v1.13 release sometime in the near future so keep an eye out. In the meantime, if you must have this fix, you can pull directly from the |
Perfect, thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mapbox-gl-js version: 1.12.0
browser: Firefox
Steps to Trigger Behavior
Link to Demonstration
https://jsfiddle.net/9Lmwptou/36/
The two buttons run the same query on the airport labels source, with and without the 'within' filter. Without the filter, airports are returned fine. With the filter, no airports are returned. The filter is a rectangular polygon surrounding LGA, as validated with geojson.io
Expected Behavior
LGA is returned
Actual Behavior
No features are returned
The text was updated successfully, but these errors were encountered: