-
Notifications
You must be signed in to change notification settings - Fork 523
/
Copy pathRasterHillshade.xaml
54 lines (54 loc) · 2.43 KB
/
RasterHillshade.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
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage x:Class="ArcGIS.Samples.RasterHillshade.RasterHillshade"
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="auto,*"
ColumnSpacing="5"
RowDefinitions="auto,auto,auto,auto">
<Label Grid.Row="0"
Grid.Column="0"
Text="Slope type:"
VerticalOptions="Center" />
<Picker x:Name="SlopeTypePicker"
Grid.Row="0"
Grid.Column="1"
MinimumWidthRequest="100"
HorizontalOptions="StartAndExpand"
VerticalOptions="CenterAndExpand" />
<Label Grid.Row="1"
Grid.Column="0"
HorizontalTextAlignment="End"
Text="Altitude:"
VerticalOptions="Center" />
<Slider x:Name="AltitudeSlider"
Grid.Row="1"
Grid.Column="1"
Maximum="90"
Minimum="0" />
<Label Grid.Row="2"
Grid.Column="0"
HorizontalTextAlignment="End"
Text="Azimuth:"
VerticalOptions="Center" />
<Slider x:Name="AzimuthSlider"
Grid.Row="2"
Grid.Column="1"
Maximum="360"
Minimum="0" />
<Button x:Name="ApplyHillshadeButton"
Grid.Row="3"
Grid.ColumnSpan="2"
Margin="20,0"
Clicked="ApplyHillshadeButton_Click"
HorizontalOptions="CenterAndExpand"
Text="Apply hillshade"
VerticalOptions="Center" />
</Grid>
</Border>
</Grid>
</ContentPage>