-
Notifications
You must be signed in to change notification settings - Fork 525
/
Copy pathQueryFeatureCountAndExtent.xaml
28 lines (28 loc) · 1.4 KB
/
QueryFeatureCountAndExtent.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
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage x:Class="ArcGIS.Samples.QueryFeatureCountAndExtent.QueryFeatureCountAndExtent"
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:sampleViewer="clr-namespace:ArcGIS.Resources">
<Grid Style="{DynamicResource EsriSampleContainer}">
<esriUI:MapView x:Name="MyMapView" Style="{DynamicResource EsriSampleGeoView}" />
<Border Style="{DynamicResource EsriSampleControlPanel}">
<Grid Padding="5"
RowDefinitions="auto,auto,auto,auto"
RowSpacing="5">
<Label Grid.Row="0"
FontAttributes="Bold"
Text="Select a state to zoom to matching features:" />
<Picker x:Name="StatesPicker"
Grid.Row="1"
SelectedIndexChanged="StatesPicker_SelectionChanged" />
<Button Grid.Row="2"
Clicked="CountFeaturesButton_Click"
Text="Count in extent" />
<Label x:Name="Results"
Grid.Row="3"
HorizontalTextAlignment="Center" />
</Grid>
</Border>
</Grid>
</ContentPage>