Removing online elevation layer

03-23-2021 05:08 AM
New Contributor III

Hi All,

I have added the following online elevation to the application.

Using the following I have added the online elevation in the application.

ArcGISTiledElevationSource tiledElevationSource = new ArcGISTiledElevationSource(elevationUri);

Here, the elevationUri denotes the above online elevation url.

Now, I just want to remove the online elevation from the application through button click event.

Can anybody helps me out in this!


Tags (1)
0 Kudos
1 Reply
Esri Regular Contributor


The Scene has a BaseSurface property of type Surface. A Surface includes a collection of elevation sources in its ElevationSources property. You should be able to remove the elevation source from that collection.

0 Kudos