I'm using the ArcGIS javascript API to develop a web application that involves querying oceanographic data from within a region. One requirement is to be able to select a region by drawing it on a Web Scene or entering lats and lons in a form. There should be 2-way binding between the polygon on the scene and the form. I was mostly able to achieve this by watching events emitted by a SketchViewModel to update the form when someone sketches, and adding graphics to a graphics layer when someone enters information into the form. Unfortunately, this fails whenever someone attempts to draw or enter a region that crosses the 180th meridian (see Sketch in 3D example).
I previously asked if there was a workaround or fix for drawing across the 180th meridian with the sketch tool and was told that this is a bug with no current workaround. However, the AreaMeasurement3DViewModel is able to draw across the 180th meridian without any issues, so there's some way to do it. I'm having a hard time identifying what that is.
Any ideas for this problem?