Select to view content in your preferred language

Giving a Height( Z value to the Polyline)

769
1
07-09-2021 11:15 PM
BerkOz
by
New Contributor

Hello everyone, I'm currently working on Runtime and I'm new to that. I'm able to create a line-polyline between 2 or more x-y coordinates and show it on the map for both 2D and 3D.  However, I want to create a line between 2 cities, but also give a Z-value, Height to the line. The line should be seen like a plane line or similar, but could not handle it. Can someone please help me with it. Below you can see lines for both 2d and 3D. That line goes on the surface.

Thanks in advance.

1.png2.png

1 Reply
TonyWakim
Esri Contributor

Try changing the GraphicsOverlay SceneProperties SurfacePlacement property.  Here is a sample on how to do that: Surface placement | ArcGIS Runtime API for .NET | ArcGIS for Developers 

0 Kudos