ArcGIS Runtime SDK for .NET Samples

WMTS layer

Map with a WMTS layer
Loading

Code

<UserControl
    x:Class="ArcGISRuntime.UWP.Samples.WMTSLayer.WMTSLayer"
    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="using:Esri.ArcGISRuntime"
    xmlns:esriUI="using:Esri.ArcGISRuntime.UI.Controls"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <esriUI:MapView x:Name="MyMapView" />
        <Border
            Background="White" BorderBrush="Black" BorderThickness="1"
            HorizontalAlignment="Right" VerticalAlignment="Top"
            Margin="30" Padding="5" Width="375">
            <StackPanel>
                <Button x:Name="UriButton"
                        Click="UriButton_Click"
                        Margin="10"
                        HorizontalAlignment="Stretch"
                        IsEnabled ="false"
                        Content="WMTSLayer via Uri" />
                <Button x:Name="InfoButton"
                        Click="InfoButton_Click"
                        HorizontalAlignment="Stretch"
                        Margin="10"
                        Content="WMTSLayer via WmtsLayerInfo" />
            </StackPanel>
        </Border>
    </Grid>
</UserControl>


In this topic
  1. Code