ArcGIS Runtime SDK for .NET Samples

Display Kml

Display KML data from a variety of sources

Loading

Code

<UserControl
    x:Class="ArcGISRuntime.WPF.Samples.DisplayKml.DisplayKml"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:esri="http://schemas.esri.com/arcgis/runtime/2013">
    <Grid>
        <esri:SceneView x:Name="MySceneView" />
        <Border Style="{StaticResource BorderStyle}">
            <StackPanel Orientation="Vertical">
                <Label Content="Choose a KML data source."
                       HorizontalContentAlignment="Center"
                       FontWeight="SemiBold" />
                <ComboBox x:Name="LayerPicker"
                          IsEnabled="False"
                          IsEditable="False" />
            </StackPanel>
        </Border>
    </Grid>
</UserControl>


In this topic
  1. Code