forked from Esri/arcgis-maps-sdk-dotnet-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFindServiceArea.xaml
50 lines (50 loc) · 2.19 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
42
43
44
45
46
47
48
49
50
<UserControl x:Class="ArcGISRuntime.UWP.Samples.FindServiceArea.FindServiceArea"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:esri1="using:Esri.ArcGISRuntime.UI.Controls">
<Grid>
<esri1:MapView x:Name="MyMapView" />
<Border Style="{StaticResource BorderStyle}">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<Button Name="PlaceFacilityButton"
Grid.Row="0" Grid.Column="0"
Margin="5,5,5,5"
Content="Place facility"
Click="PlaceFacilityButton_Click"
HorizontalAlignment="Stretch"
Width="Auto"/>
<Button Name="DrawBarrierButton"
Grid.Row="0" Grid.Column="1"
Margin="5,5,5,5"
Content="Draw barrier"
Click="DrawBarrierButton_Click"
HorizontalAlignment="Stretch"/>
<Button Name="ShowServiceAreasButton"
Grid.Row="3"
Grid.ColumnSpan="2"
Margin="5,5,5,5"
Content="Show service areas"
Click="ShowServiceAreasButton_Click"
HorizontalAlignment="Stretch"/>
<Button Name="ResetButton"
Grid.Row="4"
Grid.ColumnSpan="2"
Margin="5,5,5,5"
Content="Reset"
Click="Reset_Click"
HorizontalAlignment="Stretch"/>
</Grid>
</Border>
</Grid>
</UserControl>