Spatial relationships

Evaluate relationships between input geometries
Loading

Code

<UserControl x:Class="ArcGISRuntime.WPF.Samples.SpatialRelationships.SpatialRelationships"
             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:MapView x:Name="MyMapView" />
        <Border BorderBrush="Black" BorderThickness="1" Background="White"
                HorizontalAlignment="Right" VerticalAlignment="Top"
                Margin="30" Padding="20" Width="375">
            <StackPanel>
                <TextBlock Text="Tap a graphic to see its relationship with the others."
                           FontWeight="SemiBold" TextWrapping="Wrap" TextAlignment="Center" />
                <TreeView Margin="0,5,0,0">
                    <TreeView.Items>
                        <TreeViewItem x:Name="PointTreeEntry"
                                      Header="Point" />
                        <TreeViewItem x:Name="PolylineTreeEntry"
                                      Header="Polyline" />
                        <TreeViewItem x:Name="PolygonTreeEntry"
                                      Header="Polygon" />
                    </TreeView.Items>
                </TreeView>
            </StackPanel>
        </Border>
    </Grid>
</UserControl>


In this topic
  1. Code