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

Return 3d features first from queryRenderedFeatures #7926

Closed
wants to merge 2 commits into from

Conversation

andycalder
Copy link
Contributor

@andycalder andycalder commented Feb 19, 2019

Fixes #7883 by returning fill-extrusions first. fill-extrusions don't obey the layer order because they're sorted by depth, and it makes more sense to return them first rather than last.

  • briefly describe the changes in this PR
  • write tests for all new functionality
  • document any changes to public APIs
  • post benchmark scores (no measurable change)
  • manually test the debug page

Does this need a unit or integration test? I'd be grateful for some guidance here.

@asheemmamoowala
Copy link
Contributor

cc @ansis

@ansis
Copy link
Contributor

ansis commented Feb 26, 2019

@andycalder thanks for your contribution! I'm going to close this pull request in favor of #7953 which handles some edge cases where fills are above 3D features. Your implementation was how I was expecting this to be fixed but due to some past rendering decisions we needed something more complex. Thanks again!

@ansis ansis closed this Feb 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants