-
Notifications
You must be signed in to change notification settings - Fork 521
/
AddDynamicEntityLayer.xaml
52 lines (52 loc) · 2.54 KB
/
AddDynamicEntityLayer.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
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage x:Class="ArcGIS.Samples.AddDynamicEntityLayer.AddDynamicEntityLayer"
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 x:Name="MainUI"
Style="{DynamicResource EsriSampleControlPanel}"
VerticalOptions="Start">
<StackLayout>
<Label x:Name="ConnectionStatusLabel" />
<Button x:Name="ConnectionButton"
Margin="5"
Clicked="ConnectionButton_Clicked"
IsEnabled="False" />
<Grid ColumnDefinitions="auto,auto" RowDefinitions="auto, auto">
<CheckBox Grid.Row="0"
Grid.Column="0"
Margin="5"
CheckedChanged="LineVisibilityCheckbox_Checked"
IsChecked="True" />
<Label Grid.Row="0"
Grid.Column="1"
Text="Track lines"
VerticalTextAlignment="Center" />
<CheckBox Grid.Row="1"
Grid.Column="0"
Margin="5"
CheckedChanged="EntityVisibilityCheckbox_Checked"
IsChecked="True" />
<Label Grid.Row="1"
Grid.Column="1"
Text="Previous observations"
VerticalTextAlignment="Center" />
</Grid>
<Label x:Name="PreviousObservationsLabel" Text="Previous observations per track: 5" />
<Slider x:Name="EntitiesSlider"
Grid.Column="1"
Maximum="16"
MaximumWidthRequest="250"
Minimum="1"
ValueChanged="Slider_ValueChanged"
VerticalOptions="Center"
Value="5" />
<Button Margin="5"
Clicked="PurgeButton_Clicked"
Text="Purge all observations" />
</StackLayout>
</Border>
</Grid>
</ContentPage>