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 extra polygons) on some zoom layers #10603

Closed
mathildor opened this issue Apr 21, 2021 · 5 comments
Assignees
Labels

Comments

@mathildor
Copy link

Related issue:

This issue seems to similar to a previous reported and solved issue.

mapbox-gl-js version:
v2.2.0

browser:
edge, 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:
image

Zooming in a bit ruins the layer rendering because an extra polygon is displayed.
image

Link to Demonstration

jsfiddle

Expected Behavior

Added layer is displayed similarly on all zoom levels

Actual Behavior

Layer changes dependent on zoom level

@mourner mourner self-assigned this Apr 21, 2021
@mourner
Copy link
Member

mourner commented Apr 21, 2021

Yeah, this might be either #7023 or another triangulation issue (similar to #9180) — will need investigation to determine which. The second would be easier to address.

@mathildor
Copy link
Author

Any progress on this issue?

Here is another example of a polygon that renders differently on different zoom levels.
https://jsfiddle.net/simhas/9fudk4ce/1/

@WendyCarpenter
Copy link

I think my problem falls within the parameters of this topic. The geojson renders correctly in Mapbox js, but not Mapbox GL, as you can see. Can someone suggest a way to correct this issue?

I'm using https://api.mapbox.com/mapbox-gl-js/v2.3.1/mapbox-gl.js

MapboxJs
MapboxGL

@WebHero0544
Copy link

@mourner Hello, I do not know if this problem has been solved, I also encountered the same problem in the development project, I really hope it can be solved as soon as possible

@mourner
Copy link
Member

mourner commented Jun 28, 2024

Closing as a duplicate of #7023.

@mourner mourner closed this as not planned Won't fix, can't repro, duplicate, stale Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants