Display a scene with a terrain surface and some imagery.
Use case
Scene views are 3D representations of real-world areas and objects. Scene views are helpful for visualizing complex datasets where 3D relationships, topography, and elevation of elements are important factors.
How to use the sample
When loaded, the sample will display a scene. Pan and zoom to explore the scene.
How it works
- Create a
Scene
object with theBasemapStyle.ArcGISImageryStandard
basemap style. - Create an
ArcGISTiledElevationSource
object and add it to the scene's base surface. - Create a
SceneView
object to display the map. - Set the scene to the scene view.
Relevant API
- Scene
- ArcGISTiledElevationSource
- SceneView
Tags
3D, basemap, elevation, scene, surface
Sample Code
<UserControl
x:Class="ArcGIS.UWP.Samples.DisplayScene.DisplayScene"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:esriUI="using:Esri.ArcGISRuntime.UI.Controls"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="300">
<Grid>
<esriUI:SceneView x:Name="MySceneView"/>
</Grid>
</UserControl>