Hi,
I have a GraphicsOverlay with SurfacePlacement.Absolute that contains Polylines with Z coordinates.
The polylines are rendered correctly above the ground according to their Z value.
When I get the Extent of the GraphicsOverlay, its HasZ property is false with 0 for ZMin and ZMax.
I have to re-create an Envelope with the correct Z values from the overlay geometries:
double zMin = _polylinesOverlay.Graphics.Min(g => g.Geometry?.Extent?.ZMin ?? 0);
double zMax = _polylinesOverlay.Graphics.Max(g => g.Geometry?.Extent?.ZMax ?? 0);
Am I missing something here?
I need this to manually compute a Viewpoint instead of using the ViewInsets since it is ignored for SceneView.
According to @dotMorten_esri in the thread Solved: SceneView questions/curiosities - Esri Community it was planned to support ViewInsets in 3D. Is still the case?
Thanks for your help!