-
Notifications
You must be signed in to change notification settings - Fork 519
/
BufferList.xaml
43 lines (43 loc) · 2.22 KB
/
BufferList.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
36
37
38
39
40
41
42
43
<UserControl x:Class="ArcGIS.WinUI.Samples.BufferList.BufferList"
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 x:Name="BufferInstructionsLabel"
Margin="0,0,0,10"
TextWrapping="Wrap">
Tap on the map to add points. Each point will use the buffer distance entered when it was created. The envelope shows the area where you can expect reasonable results for planar buffer operations with the North Central Texas State Plane spatial reference.
</TextBlock>
<StackPanel Orientation="Horizontal">
<TextBlock Margin="0,0,5,0"
VerticalAlignment="Center"
FontWeight="SemiBold"
Text="Distance (miles):" />
<TextBox x:Name="BufferDistanceMilesTextBox"
VerticalAlignment="Center"
Text="10" />
<CheckBox x:Name="UnionCheckBox"
Margin="10,0,0,0"
VerticalAlignment="Center"
Content="Union the buffer(s)"
FontWeight="SemiBold"
IsChecked="True" />
</StackPanel>
<StackPanel Margin="0,10,0,0" Orientation="Horizontal">
<Button x:Name="BufferButton"
Width="174"
Click="BufferButton_Click"
Content="Create buffer(s)" />
<Button x:Name="ClearButton"
Width="174"
Margin="10,0,0,0"
Click="ClearButton_Click"
Content="Clear" />
</StackPanel>
</StackPanel>
</Border>
</Grid>
</UserControl>