-
Notifications
You must be signed in to change notification settings - Fork 521
/
FindServiceArea.xaml
41 lines (41 loc) · 1.95 KB
/
FindServiceArea.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
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage x:Class="ArcGIS.Samples.FindServiceArea.FindServiceArea"
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">
<Grid Style="{DynamicResource EsriSampleContainer}">
<esriUI:MapView x:Name="MyMapView" Style="{DynamicResource EsriSampleGeoView}" />
<Border Style="{DynamicResource EsriSampleControlPanel}">
<Grid Padding="5"
ColumnDefinitions="0.5*,0.5*"
ColumnSpacing="5"
RowDefinitions="auto,auto,auto"
RowSpacing="5">
<Button x:Name="PlaceFacilityButton"
Grid.Row="0"
Grid.Column="0"
Clicked="PlaceFacilityButton_Click"
HorizontalOptions="FillAndExpand"
Text="Place facility" />
<Button x:Name="DrawBarrierButton"
Grid.Row="0"
Grid.Column="1"
Clicked="DrawBarrierButton_Click"
HorizontalOptions="FillAndExpand"
Text="Draw barrier" />
<Button x:Name="ShowServiceAreasButton"
Grid.Row="1"
Grid.ColumnSpan="2"
Clicked="ShowServiceAreasButton_Click"
HorizontalOptions="FillAndExpand"
Text="Show service areas" />
<Button x:Name="ResetButton"
Grid.Row="2"
Grid.ColumnSpan="2"
Clicked="Reset_Click"
HorizontalOptions="FillAndExpand"
Text="Reset" />
</Grid>
</Border>
</Grid>
</ContentPage>