I am currently working on developing a 3D area calculation widget. When a user clicks on points, a polygon is displayed.
However, I’ve encountered an issue. When the edges of the polygon intersect, the upper polygon is drawn correctly, but underneath the terrain, there is a strange polygon shown. How can I resolve this issue?
I will attach images and sandcastle link below.