Polygon rendering issue
Some filled polygon's rendering on the mapbox-gl map don't look nice.
#1 Updated by Philippe May almost 4 years ago
See attached screenshot.
It seems it's an issue related to triangulation, an algorithm used to fill polygons: https://github.com/mapbox/mapbox-gl-js/issues/3545 .
This needs more investigation, but it seems that Mapbox-gl uses an algorithm found in https://devhub.io/zh/repos/mapbox-earcut.
It mentions: "JS triangulation library that is fast enough for real-time triangulation in the browser, sacrificing triangulation quality for raw speed and simplicity, while being robust enough to handle most practical datasets without crashing or producing garbage".