-
Notifications
You must be signed in to change notification settings - Fork 518
/
NavigateRouteRerouting.xaml
37 lines (37 loc) · 1.68 KB
/
NavigateRouteRerouting.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
<ContentPage x:Class="ArcGIS.Samples.NavigateRouteRerouting.NavigateRouteRerouting"
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 Padding="5" Style="{DynamicResource EsriSampleControlPanel}">
<Grid Padding="5"
ColumnDefinitions="0.5*, 0.5*"
ColumnSpacing="5"
MaximumWidthRequest="300"
RowDefinitions="auto,auto"
RowSpacing="5">
<Button x:Name="StartNavigationButton"
Grid.Row="0"
Grid.Column="0"
Clicked="StartNavigation"
IsEnabled="False"
Text="Navigate" />
<Button x:Name="RecenterButton"
Grid.Row="0"
Grid.Column="1"
Clicked="RecenterButton_Click"
IsEnabled="False"
Text="Recenter" />
<Label x:Name="MessagesTextBlock"
Grid.Row="1"
Grid.Column="0"
Grid.ColumnSpan="2"
Margin="5"
IsVisible="false"
Text="" />
</Grid>
</Border>
</Grid>
</ContentPage>