-
Notifications
You must be signed in to change notification settings - Fork 524
/
Copy pathWmsServiceCatalog.xaml
25 lines (24 loc) · 1.3 KB
/
WmsServiceCatalog.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
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage x:Class="ArcGIS.Samples.WmsServiceCatalog.WmsServiceCatalog"
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}" WidthRequest="{OnPlatform WinUI=425}">
<VerticalStackLayout>
<Label FontAttributes="Bold" Text="Select a WMS layer from the list for display:" />
<ListView x:Name="MyDisplayList"
HeightRequest="{OnPlatform iOS=200,
MacCatalyst=200}"
ItemSelected="MyDisplayList_SelectionChanged">
<ListView.ItemTemplate>
<DataTemplate>
<TextCell Text="{Binding Name}" />
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
</VerticalStackLayout>
</Border>
</Grid>
</ContentPage>