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

Complex geometry with holes is displayed wrong (with an extra polygon) on some zoom layers #9180

Closed
mathildor opened this issue Jan 14, 2020 · 2 comments · Fixed by #9214
Closed
Assignees
Labels

Comments

@mathildor
Copy link

mapbox-gl-js version:
https://api.mapbox.com/mapbox-gl-js/v1.6.1/mapbox-gl.js

browser:
safari, chrome (probably browser independent)

Steps to Trigger Behavior

When adding some complex geometries (see fiddle) to the map, the layer is displayed with an extra polygon on some zoom layers.

Correct display after adding a red see-through layer with a hole:
image

Zooming out a bit ruins the layer rendering because an extra polygon is displayed covering part of the hole:
image

Link to Demonstration

https://jsfiddle.net/mathildeorstavik/ez5bLhmd/40/

Expected Behavior

Added layer is displayed similarly on all zoom levels

Actual Behavior

Layer changes dependent on zoom level

@mourner mourner self-assigned this Jan 14, 2020
@mourner
Copy link
Member

mourner commented Jan 22, 2020

This seems to have been fixed by #9214, which will be included in the upcoming release 🎉

@WebHero0544
Copy link

I still have this problem with the latest version (v3.0.0-Bet.4), I wonder when it will be fixed?

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 a pull request may close this issue.

3 participants