Public Function New( _ ByVal elevationSourceUri As Uri _ )
public ElevationLayerCreationParams( Uri elevationSourceUri )
Parameters
- elevationSourceUri
- A System.Uri represents the path or url to a dataset or .lyrx or .lpkx file.
Public Function New( _ ByVal elevationSourceUri As Uri _ )
public ElevationLayerCreationParams( Uri elevationSourceUri )
{
ElevationSurfaceLayer surfaceLayer = null;
// 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";
//Note: needs to be called on the MCT
var eleSourceLayer = LayerFactory.Instance.CreateLayer<Layer>(createParams, surfaceLayer);
}
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)