public void ClearElevationSurfaceLayers()
Public Sub ClearElevationSurfaceLayers()
public void ClearElevationSurfaceLayers()
Public Sub ClearElevationSurfaceLayers()
Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
// wrap in a QueuedTask.Run map.ClearElevationSurfaceLayers(); //Ground will not be removed map.RemoveLayer(surfaceLayer);//Cannot remove ground map.RemoveLayers(map.GetElevationSurfaceLayers()); //Ground will not be removed
Target Platforms: Windows 11, Windows 10