ArcGIS Runtime SDK for .NET Samples

Display Kml

Display KML data from a variety of sources

Loading

Code

<UserControl
    x:Class="ArcGISRuntime.UWP.Samples.DisplayKml.DisplayKml"
    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:SceneView x:Name="MySceneView" />
        <Border Style="{StaticResource BorderStyle}">
            <StackPanel Orientation="Vertical">
                <TextBlock Text="Choose a KML data source."
                           HorizontalTextAlignment="Center"
                           FontWeight="SemiBold" />
                <ComboBox x:Name="LayerPicker"
                          HorizontalAlignment="Stretch"
                          IsEnabled="False" />
            </StackPanel>
        </Border>
    </Grid>
</UserControl>


In this topic
  1. Code