-
Notifications
You must be signed in to change notification settings - Fork 521
/
Buffer.xaml
55 lines (55 loc) · 2.47 KB
/
Buffer.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
44
45
46
47
48
49
50
51
52
53
54
55
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage x:Class="ArcGIS.Samples.Buffer.Buffer"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:esriUI="clr-namespace:Esri.ArcGISRuntime.Maui;assembly=Esri.ArcGISRuntime.Maui"
xmlns:resources="clr-namespace:ArcGIS.Resources">
<Grid Style="{DynamicResource EsriSampleContainer}">
<esriUI:MapView x:Name="MyMapView" Style="{DynamicResource EsriSampleGeoView}" />
<Border MinimumWidthRequest="400" Style="{DynamicResource EsriSampleControlPanel}">
<Grid ColumnDefinitions="*,*" RowDefinitions="auto,auto,auto,auto,auto">
<Label Grid.Row="0"
Grid.Column="0"
Grid.ColumnSpan="2"
Margin="0,5"
Text="Tap the map to create Planar and Geodesic buffers" />
<Label Grid.Row="1"
Grid.Column="0"
Text="Distance (miles):"
VerticalOptions="Center" />
<Entry x:Name="BufferDistanceMilesEntry"
Grid.Row="1"
Grid.Column="1"
Keyboard="Numeric"
Text="1000" />
<Button x:Name="ClearBuffersButton"
Grid.Row="2"
Grid.Column="0"
Grid.ColumnSpan="2"
Margin="5"
Clicked="ClearBuffersButton_Click"
Text="Clear" />
<Border x:Name="BufferSwatchPlanar"
Grid.Row="3"
Grid.Column="0"
Margin="5"
Padding="5" />
<Label Grid.Row="3"
Grid.Column="1"
Margin="5"
Text="Planar buffers"
VerticalOptions="Center" />
<Border x:Name="BufferSwatchGeodesic"
Grid.Row="4"
Grid.Column="0"
Margin="5"
Padding="5" />
<Label Grid.Row="4"
Grid.Column="1"
Margin="5"
Text="Geodesic buffers"
VerticalOptions="Center" />
</Grid>
</Border>
</Grid>
</ContentPage>