Skip To Content ArcGIS for Developers Sign In Dashboard

ArcGIS Runtime SDK for .NET

3D ArcGIS Tiled Map Service Layer

Download Samples Repository

Description

Demonstrates adding an 2d ArcGIS tiled map service to a Scene in XAML.

"Desktop" Available for Desktop

Sample Code

<UserControl 
	x:Class="ArcGISRuntime.Samples.Desktop.ArcGISTiledMapServiceLayerSample3d"
	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:esri="http://schemas.esri.com/arcgis/runtime/2013"
	mc:Ignorable="d" 
	d:DesignHeight="300" d:DesignWidth="300">
	<Grid>
		<esri:SceneView x:Name="MySceneView">
			<esri:Scene>
				<esri:ArcGISTiledMapServiceLayer ID="StreetMap"
					ServiceUri="http://services.arcgisonline.com/arcgis/rest/services/World_Street_Map/MapServer" />
			</esri:Scene>
		</esri:SceneView>
	</Grid>
</UserControl>
namespace ArcGISRuntime.Samples.Desktop
{
	/// <summary>
	/// Demonstrates adding an 2d ArcGIS tiled map service to a Scene in XAML.
	/// </summary>
	/// <title>3D ArcGIS Tiled Map Service Layer</title>
	/// <category>Scene</category>
	/// <subcategory>Layers</subcategory>
	public partial class ArcGISTiledMapServiceLayerSample3d
	{
		public ArcGISTiledMapServiceLayerSample3d()
		{
			InitializeComponent();
		}
	}
}
Feedback on this topic?