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

Fill extrusion rendering issue with tileset containing features per zoom level #6754

Closed
StephaneAlie opened this issue May 29, 2018 · 3 comments

Comments

@StephaneAlie
Copy link

mapbox-gl-js version: 0.45.0

browser: Chrome 66.0.3359.181

Steps to Trigger Behavior

  1. Open the jsfiddle demo below.
  2. Zoom and pan around Houston.
  3. Switching layer to 2d and back to 3d momentarily "fixes" the rendering, but zooming / panning triggers the issue again (the rendering issue only happens with the fill-extrusion layer even though both layer are rendering using the same tileset).

Link to Demonstration

https://jsfiddle.net/9ou7r119/5/

Expected Behavior

Map should not render tiles from lower zoom level

Actual Behavior

Map renders tiles from lower zoom level.

This is most likely a variant of #6560

@ryanbaumann
Copy link
Contributor

Thanks for ticketing with a minimal example, @StephaneAlie.

This bug seems to be specific to fill-extrusion layers. Changing the example @StephaneAlie provided to a fill layer type, instead of a fill-extrusion layer type with fill-extrusion-height set to zero, fixes the low-zoom tiles still loaded & rendered issue.

cc/ @lbud @jfirebaugh

@jfirebaugh
Copy link
Contributor

Thanks for the report! I'm consolidating all the issues related to this bug in #6768.

@chloekraw
Copy link
Contributor

@StephaneAlie - we merged #6803 into v0.49 of gl-js which should have fixed 90% of the bugs captured in #6768. Let us know if you're still seeing a bug in your application after upgrading to the latest version.

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

No branches or pull requests

4 participants