I’ve found an issue where polylines and polygons with the same set of points don’t render in the same place. The problem seems to be with the polygon since the polylines points line up with the mouse downs. There are some special circumstances with this issue. This appears to only happen over terrain and the camera must be zoomed in a fair bit.
The demo isn’t the best but does show the problem. Move the camera to a location over some mountains and then zoom in. Click the drawing check box and then click five or six locations on the map. The polygon will render inside of the polyline. In the example the polygon’s hierarchy doesn’t appear to be updating properly, but the image shows the issue.
Terrain.html (10.2 KB)