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

Fix precedence of promoteId over feature id in fill extrusions #9863

Merged
merged 1 commit into from
Jul 9, 2020

Conversation

mourner
Copy link
Member

@mourner mourner commented Jul 9, 2020

There was a leftover in fill-extrusion-bucket code that caused a bug with promoteId not working if fill extrusion features already had an id present. This PR fixes that, and updates the render test to trigger the bug (so that it fails prior to this PR).

Launch Checklist

  • briefly describe the changes in this PR
  • write tests for all new functionality
  • manually test the debug page
  • apply changelog label ('bug', 'feature', 'docs', etc) or use the label 'skip changelog'
  • add an entry inside this element for inclusion in the mapbox-gl-js changelog: <changelog>Fixed a bug where promoteId option failed for fill extrusions with defined feature ids.</changelog>

Copy link
Contributor

@asheemmamoowala asheemmamoowala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@mourner mourner merged commit 25afccb into main Jul 9, 2020
@mourner mourner deleted the fix-promote-id-extrusions branch July 9, 2020 16:07
@mourner mourner self-assigned this Jul 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants