Click or drag to resize

ArcGISTiledElevationSource Class

Class that represents an elevation source that can visualize an ArcGIS elevation image service.
Inheritance Hierarchy

Namespace:  Esri.ArcGISRuntime.Mapping
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.11.0
public sealed class ArcGISTiledElevationSource : ElevationSource

The ArcGISTiledElevationSource type exposes the following members.

Public methodCode exampleArcGISTiledElevationSource
Initializes a new instance of the ArcGISTiledElevationSource class.
Public methodCode exampleArcGISTiledElevationSource(Uri)
Initializes a new instance of the ArcGISTiledElevationSource class from the specified URI.
Public methodArcGISTiledElevationSource(Item)
Initializes a new instance of the ArcGISTiledElevationSource class with the specified PortalItem.
Public methodCode exampleArcGISTiledElevationSource(TileCache)
Initializes a new instance of the ArcGISTiledElevationSource class with the specified TileCache.
Public propertyCredential
Gets or sets the Credential used to access a remote service.
Public propertyIsEnabled
Gets or sets the enabled state of the elevation source.
(Inherited from ElevationSource.)
Public propertyItem
Gets the PortalItem for the elevation source.
Public propertyLoadError
Gets the load error of the elevation source (null if loading was successful).
(Inherited from ElevationSource.)
Public propertyLoadStatus
Gets the load status of the elevation source.
(Inherited from ElevationSource.)
Public propertyName
Gets or sets the name of the elevation source.
(Inherited from ElevationSource.)
Public propertyCode exampleSource
Gets or sets the endpoint of the ArcGIS elevation service.
Public propertyTileCache
Gets or sets the TileCache for a local elevation source tile package.
Public methodCancelLoad
Cancels an ongoing load.
(Inherited from ElevationSource.)
Public methodLoadAsync
Initiates loading of the elevation source.
(Inherited from ElevationSource.)
Public methodRetryLoadAsync
Retry loading the elevation source.
(Inherited from ElevationSource.)
Public eventLoaded
Occurs when the elevation source is loaded.
(Inherited from ElevationSource.)
Public eventLoadStatusChanged
Occurs when the elevation source LoadStatus property is changed.
(Inherited from ElevationSource.)
Public eventPropertyChanged
Occurs when a property value changes.
(Inherited from ElevationSource.)
An ArcGIS tiled elevation source provides elevation data on which layers may be draped or offset from.


Example Name: SceneLayerUrl

Display an ArcGIS scene layer from a URL.

Code example screen shot.

// Copyright 2017 Esri.
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at:
// Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
// language governing permissions and limitations under the License.

using Esri.ArcGISRuntime.Geometry;
using Esri.ArcGISRuntime.Mapping;
using System;
using System.Windows;

namespace ArcGISRuntime.WPF.Samples.SceneLayerUrl
        name: "Scene layer (URL)",
        category: "Layers",
        description: "Display an ArcGIS scene layer from a URL.",
        instructions: "Pan and zoom to explore the scene.",
        tags: new[] { "3D", "Portland", "URL", "buildings", "model", "scene", "service" })]
    public partial class SceneLayerUrl
        // URL for a service to use as an elevation source.
        private readonly Uri _elevationSourceUrl = new Uri(

        // URL for the scene layer.
        private readonly Uri _serviceUri = new Uri(

        public SceneLayerUrl()

        private async void Initialize()
            // Create new Scene.
            Scene myScene = new Scene {Basemap = new Basemap(BasemapStyle.ArcGISImageryStandard)};

            // Create and add an elevation source for the Scene.
            ArcGISTiledElevationSource elevationSrc = new ArcGISTiledElevationSource(_elevationSourceUrl);

            // Create new scene layer from the URL.
            ArcGISSceneLayer sceneLayer = new ArcGISSceneLayer(_serviceUri);

            // Add created layer to the operational layers collection.

                // Load the layer.
                await sceneLayer.LoadAsync();

                // Get the center of the scene layer.
                MapPoint center = (MapPoint)GeometryEngine.Project(sceneLayer.FullExtent.GetCenter(), SpatialReferences.Wgs84);

                // Create a camera with coordinates showing layer data.
                Camera camera = new Camera(center.Y, center.X, 225, 220, 80, 0);

                // Assign the Scene to the SceneView.
                MySceneView.Scene = myScene;

                // Set view point of scene view using camera.
                await MySceneView.SetViewpointCameraAsync(camera);
            catch (Exception e)
                MessageBox.Show(e.ToString(), "Error");
    d:DesignHeight="300" d:DesignWidth="300">
        <esri:SceneView x:Name="MySceneView">
See Also
Additional Examples
Hyperlink to ExampleDescription
AddAnIntegratedMeshLayerView an integrated mesh layer from a scene service.
Animate3DGraphicAn `OrbitGeoElementCameraController` follows a graphic while the graphic's position and rotation are animated.
ChangeAtmosphereEffectChanges the appearance of the atmosphere in a scene.
ChooseCameraControllerControl the behavior of the camera in a scene.
CreateTerrainSurfaceTilePackageSet the terrain surface with elevation described by a local tile package.
DisplaySceneDisplay a scene with a terrain surface and some imagery.
DistanceMeasurementMeasure distances between two points in 3D.
GetElevationAtPointGet the elevation for a given point on a surface in a scene.
LineOfSightGeoElementShow a line of sight between two moving objects.
LineOfSightLocationPerform a line of sight analysis between two points in real time.
ListKmlContentsList the contents of a KML file.
PlayKmlToursPlay tours in KML files.
SceneLayerSelectionIdentify features in a scene to select.
SceneLayerUrlDisplay an ArcGIS scene layer from a URL.
SceneSymbolsShow various kinds of 3D symbols in a scene.
SurfacePlacementsPosition graphics relative to a surface using different surface placement modes.
TerrainExaggerationVertically exaggerate terrain in a scene.
ViewPointCloudDataOfflineDisplay local 3D point cloud data.
ViewshedCameraAnalyze the viewshed for a camera. A viewshed shows the visible and obstructed areas from an observer's vantage point.
ViewshedGeoElementAnalyze the viewshed for an object (GeoElement) in a scene.
ViewshedLocationPerform a viewshed analysis from a defined vantage point.