ElevationLayerCreationParams Constructor(Uri)
Creates a parameter object with
System.Uri.
Add an elevation source to an existing elevation surface layer
// wrap in QueuendTask.Run
// surfaceLayer could also be the ground layer
string uri = "https://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer";
var createParams = new ElevationLayerCreationParams(new Uri(uri));
createParams.Name = "Terrain 3D";
var eleSourceLayer = LayerFactory.Instance.CreateLayer<Layer>(createParams, surfaceLayer);
Target Platforms: Windows 11, Windows 10
ArcGIS Pro version: 3 or higher.