mapbox-gl-js
mapbox-gl-js copied to clipboard
Rendering image layer on a crossed quadrilateral bbox
Rendering an image on a crossed quadrilateral seems to result in a layer which spans half the world.
mapbox-gl-js version: 2.x
browser: Chrome
Link to Demonstration
https://jsfiddle.net/iaezzy/wz2pjmgx/1/
Wow, looks bad... We should probably calculate a convex polygon on the input points to make sure they are ingested in the right order, or reject the input in case it's self-intersecting.