I want the elevation at each point in a polyline (using SketchWidget in arcGIS SDK for Javascript).
I tried changing the elevationInfo mode of the GraphicsLayer to all of the possible settings.
With “absolute-height” – the elevation of the first point in the polyline is set as the z value of all the points (even though the elevation changes as my polyline runs over mountains)…
With “relative-to-ground”, “relative-to-scene”, and “on-the-ground”, the z value of each point is 0. (Which makes sense, as it is giving the altitude RELATIVE to the terrain…
No option seems to give the natural terrain elevation at each point.
Thanks!