forked from Esri/arcgis-maps-sdk-dotnet-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConvexHullList.xaml
35 lines (35 loc) · 1.65 KB
/
ConvexHullList.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<UserControl
x:Class="ArcGISRuntime.UWP.Samples.ConvexHullList.ConvexHullList"
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 Style="{StaticResource BorderStyle}">
<StackPanel>
<TextBlock TextWrapping="Wrap"
FontWeight="SemiBold">
Click 'Create convex hull' to create convex hull(s) from the polygon
graphics. If 'Union' is checked, the resulting output will
be one polygon that is the convex hull for the two input polygons.
Otherwise, the resulting output will have two convex
hull polygons - one for each of the two input polygons.
</TextBlock>
<CheckBox x:Name="ConvexHullListCheckBox"
Content="Union"
Margin="0,5,0,5"
IsChecked="True" />
<Button x:Name="ConvexHullListButton"
Content="Create convex hull"
HorizontalAlignment="Stretch"
Margin="0,5,0,5"
Click="ConvexHullListButton_Click" />
<Button x:Name="ResetButton"
Content="Reset"
HorizontalAlignment="Stretch"
Margin="0,5,0,5"
Click="ResetButton_Click" />
</StackPanel>
</Border>
</Grid>
</UserControl>