-
Notifications
You must be signed in to change notification settings - Fork 521
/
Copy pathStyleWmsLayer.xaml
36 lines (36 loc) · 1.43 KB
/
StyleWmsLayer.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
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage x:Class="ArcGIS.Samples.StyleWmsLayer.StyleWmsLayer"
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>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Label Grid.Row="0"
Grid.Column="0"
Grid.ColumnSpan="2"
HorizontalTextAlignment="Center"
Text="Choose a style" />
<Button x:Name="FirstStyleButton"
Grid.Row="1"
Grid.Column="0"
Clicked="FirstStyleButton_Clicked"
Text="Default" />
<Button x:Name="SecondStyleButton"
Grid.Row="1"
Grid.Column="1"
Clicked="SecondStyleButton_Clicked"
Text="Contrast stretch" />
<esriUI:MapView x:Name="MyMapView"
Grid.Row="2"
Grid.Column="0"
Grid.ColumnSpan="2" />
</Grid>
</ContentPage>