Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
williambohrmann3 committed Nov 22, 2023
1 parent e42e90d commit 638fc0c
Show file tree
Hide file tree
Showing 14 changed files with 107 additions and 121 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@
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="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<esriUI:SceneView x:Name="MySceneView" Grid.Row="0" />
<esriUI:SceneView x:Name="MySceneView" />
<Button x:Name="UpdateObserverButton"
Grid.Row="1"
Margin="10"
Clicked="UpdateObserverWithCamera"
Text="Viewshed from Here" />
HorizontalOptions="End"
Text="Viewshed from Here"
VerticalOptions="Start" />
</Grid>
</ContentPage>
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,14 @@
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>
<Button x:Name="MyRendererButton"
Clicked="Button_Clicked"
IsEnabled="False"
Text="Change Renderer" />
</Grid>
</Border>
<Grid>
<esriUI:MapView x:Name="MyMapView" />
<Button x:Name="MyRendererButton"
Margin="10"
Clicked="Button_Clicked"
HorizontalOptions="End"
IsEnabled="False"
Text="Change Renderer"
VerticalOptions="Start" />
</Grid>
</ContentPage>
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@
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="*" />
</Grid.RowDefinitions>
<esriUI:MapView x:Name="MyMapView" />
<Button x:Name="ClipButton"
Grid.Row="0"
Margin="10"
Clicked="ClipButton_Clicked"
Text="Clip" />
<esriUI:MapView x:Name="MyMapView" Grid.Row="1" />
HorizontalOptions="End"
Text="Clip"
VerticalOptions="Start" />
</Grid>
</ContentPage>
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@
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="*" />
</Grid.RowDefinitions>
<esriUI:MapView x:Name="MyMapView" />
<Button x:Name="CutButton"
Grid.Row="0"
Margin="10"
Clicked="CutButton_Clicked"
Text="Cut" />
<esriUI:MapView x:Name="MyMapView" Grid.Row="1" />
HorizontalOptions="End"
Text="Cut"
VerticalOptions="Start" />
</Grid>
</ContentPage>
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@
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" RowDefinitions="auto">
<Button x:Name="ChangeSublayerRendererButton"
Clicked="ChangeSublayerRendererButton_Clicked"
Text="Change sublayer renderer" />
</Grid>
</Border>
<Grid>
<esriUI:MapView x:Name="MyMapView" />
<Button x:Name="ChangeSublayerRendererButton"
Margin="10"
Clicked="ChangeSublayerRendererButton_Clicked"
HorizontalOptions="End"
Text="Change sublayer renderer"
VerticalOptions="Start" />
</Grid>
</ContentPage>
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@
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="*" />
</Grid.RowDefinitions>
<esriUI:MapView x:Name="MyMapView" />
<Button x:Name="SublayersButton"
Margin="10"
Clicked="OnSublayersClicked"
Text="Sublayer" />
<esriUI:MapView x:Name="MyMapView" Grid.Row="1" />
HorizontalOptions="End"
Text="Sublayer"
VerticalOptions="Start" />
</Grid>
</ContentPage>
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@
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" RowDefinitions="auto">
<Button x:Name="changeRenderingRule"
Clicked="OnChangeRenderingRuleButtonClicked"
Text="Change Rendering Rule" />
</Grid>
</Border>
<Grid>
<esriUI:MapView x:Name="MyMapView" />
<Button x:Name="changeRenderingRule"
Margin="10"
Clicked="OnChangeRenderingRuleButtonClicked"
HorizontalOptions="End"
Text="Change Rendering Rule"
VerticalOptions="Start" />
</Grid>
</ContentPage>
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@
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="{StaticResource EsriSampleControlPanel}">
<Grid RowDefinitions="auto">
<Button x:Name="LocationTrackingButton"
Clicked="StartTracking_Tapped"
IsEnabled="False"
Text="Start tracking" />
</Grid>
</Border>
<Grid>
<esriUI:MapView x:Name="MyMapView" />
<Button x:Name="LocationTrackingButton"
Margin="10"
Clicked="StartTracking_Tapped"
HorizontalOptions="End"
IsEnabled="False"
Text="Start tracking"
VerticalOptions="Start" />
</Grid>
</ContentPage>
17 changes: 8 additions & 9 deletions src/MAUI/Maui.Samples/Samples/Map/OpenMapURL/OpenMapURL.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@
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}">
<Button x:Name="MapsButton"
Padding="5"
Clicked="OnMapsClicked"
Text="Maps"
VerticalOptions="Start" />
</Border>
<Grid>
<esriUI:MapView x:Name="MyMapView" />
<Button x:Name="MapsButton"
Margin="10"
Clicked="OnMapsClicked"
HorizontalOptions="End"
Text="Maps"
VerticalOptions="Start" />
</Grid>
</ContentPage>
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@
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 RowDefinitions="auto">
<Button x:Name="ViewpointsButton"
Clicked="OnViewpointsClicked"
Text="Viewpoints" />
</Grid>
</Border>
<Grid>
<esriUI:MapView x:Name="MyMapView" />
<Button x:Name="ViewpointsButton"
Margin="10"
Clicked="OnViewpointsClicked"
HorizontalOptions="End"
Text="Viewpoints"
VerticalOptions="Start" />
</Grid>
</ContentPage>
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,27 @@
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 RowDefinitions="auto">
<Button x:Name="ScreenshotButton"
Clicked="OnTakeScreenshotClicked"
Text="Capture" />
</Grid>
</Border>
<Grid>
<esriUI:MapView x:Name="MyMapView" />
<Button x:Name="ScreenshotButton"
Margin="10"
Clicked="OnTakeScreenshotClicked"
HorizontalOptions="End"
Text="Capture"
VerticalOptions="Start" />
<Border x:Name="ScreenshotView"
Grid.RowSpan="2"
Grid.ColumnSpan="2"
Padding="5"
BackgroundColor="{AppThemeBinding Light=#dfdfdf,
Dark=#303030}"
IsVisible="False"
VerticalOptions="Center"
WidthRequest="400"
BackgroundColor="{AppThemeBinding Light=#dfdfdf, Dark=#303030}">
WidthRequest="400">
<Grid Grid.Row="0" RowDefinitions="300,auto">
<Image x:Name="ScreenshotImage" Grid.Row="0" Margin="5" />
<Image x:Name="ScreenshotImage"
Grid.Row="0"
Margin="5" />
<Button x:Name="CloseScreenshotButton"
Grid.Row="1"
Clicked="CloseButton_Clicked"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
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 ColumnDefinitions="*, Auto" RowDefinitions="Auto, *">
<esriUI:SceneView x:Name="MySceneView" Style="{DynamicResource EsriSampleGeoView}" />
<Border Style="{DynamicResource EsriSampleControlPanel}">
<Button x:Name="MyButton"
Clicked="MyButton_Click"
HorizontalOptions="CenterAndExpand" />
</Border>
<Grid>
<esriUI:SceneView x:Name="MySceneView" />
<Button x:Name="MyButton"
Margin="10"
Clicked="MyButton_Click"
HorizontalOptions="End"
VerticalOptions="Start" />
</Grid>
</ContentPage>
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@
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:SceneView x:Name="MySceneView" Style="{DynamicResource EsriSampleGeoView}" />
<Border Style="{DynamicResource EsriSampleControlPanel}">
<Grid Padding="5" RowDefinitions="auto">
<Button x:Name="ControllersButton"
Clicked="OnButtonClicked"
Text="Change Camera Controller" />
</Grid>
</Border>
<Grid>
<esriUI:SceneView x:Name="MySceneView" />
<Button x:Name="ControllersButton"
Margin="10"
Clicked="OnButtonClicked"
HorizontalOptions="End"
Text="Change Camera Controller"
VerticalOptions="Start" />
</Grid>
</ContentPage>
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@
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:SceneView x:Name="MySceneView" Style="{DynamicResource EsriSampleGeoView}" />
<Border Style="{DynamicResource EsriSampleControlPanel}">
<Grid Padding="5" RowDefinitions="auto">
<Button x:Name="ToggleExtrusionDataButton"
Grid.Row="0"
Clicked="ToggleExtrusionData_Click"
Text="Show population density" />
</Grid>
</Border>
<Grid>
<esriUI:SceneView x:Name="MySceneView" />
<Button x:Name="ToggleExtrusionDataButton"
Margin="10"
Clicked="ToggleExtrusionData_Click"
HorizontalOptions="End"
Text="Show population density"
VerticalOptions="Start" />
</Grid>
</ContentPage>

0 comments on commit 638fc0c

Please sign in to comment.