ArcGIS Runtime SDK for .NET Samples

Export tiles

Export tiles for an extent
Loading

Code

<UserControl x:Class="ArcGISRuntime.UWP.Samples.ExportTiles.ExportTiles"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:esriUI="using:Esri.ArcGISRuntime.UI.Controls">
    <Grid>
        <esriUI:MapView x:Name="MyMapView" />
        <Border Background="White" BorderBrush="Black" BorderThickness="1"
                HorizontalAlignment="Right" VerticalAlignment="Top"
                Margin="30" Padding="20" Width="375">
            <StackPanel>
                <Button x:Name="MyExportButton"
                        Content="Export tiles"
                        HorizontalAlignment="Stretch"
                        IsEnabled="False"
                        Click="MyExportButton_Click" />
                <ProgressBar x:Name="MyProgressBar"
                             Visibility="Collapsed"
                             MinHeight="10"
                             IsIndeterminate="True" />
                <esriUI:MapView x:Name="MyPreviewMapView"
                                Width="375" Height="400"
                                Visibility="Collapsed" />
                <Button x:Name="MyClosePreviewButton"
                        Content="Close preview" 
                        Margin="0,5,0,0"
                        Visibility="Collapsed"
                        HorizontalAlignment="Stretch"
                        Click="ClosePreview_Click" />
            </StackPanel>
        </Border>
    </Grid>
</UserControl>


In this topic
  1. Code