-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #390 from nPerez00/master
Uploading sample code under a new folder called maps-sdk
- Loading branch information
Showing
14 changed files
with
1,363 additions
and
0 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
maps-sdk/dotnet-maps-sdk/export-delta-geodatabase/App.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<Application x:Class="ExportDeltaGeodatabase.App" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:local="clr-namespace:ExportDeltaGeodatabase" | ||
StartupUri="MainWindow.xaml"> | ||
<Application.Resources> | ||
<ResourceDictionary> | ||
|
||
<!-- General Style files --> | ||
<ResourceDictionary.MergedDictionaries> | ||
<ResourceDictionary Source="Resources\ControlStyles.xaml" /> | ||
</ResourceDictionary.MergedDictionaries> | ||
|
||
<Style x:Key="HeaderTextBlock" TargetType="TextBlock"> | ||
<Setter Property="Foreground" Value="{StaticResource PrimaryColor}" /> | ||
</Style> | ||
<Style x:Key="PrimaryTextBlock" TargetType="TextBlock"> | ||
<Setter Property="Foreground" Value="{StaticResource PrimaryTextColor}" /> | ||
</Style> | ||
<Style x:Key="SecondaryTextBlock" TargetType="TextBlock"> | ||
<Setter Property="Foreground" Value="{StaticResource PrimaryTextColor}" /> | ||
</Style> | ||
</ResourceDictionary> | ||
</Application.Resources> | ||
</Application> |
14 changes: 14 additions & 0 deletions
14
maps-sdk/dotnet-maps-sdk/export-delta-geodatabase/App.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System.Configuration; | ||
using System.Data; | ||
using System.Windows; | ||
|
||
namespace ExportDeltaGeodatabase | ||
{ | ||
/// <summary> | ||
/// Interaction logic for App.xaml | ||
/// </summary> | ||
public partial class App : Application | ||
{ | ||
} | ||
|
||
} |
10 changes: 10 additions & 0 deletions
10
maps-sdk/dotnet-maps-sdk/export-delta-geodatabase/AssemblyInfo.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
using System.Windows; | ||
|
||
[assembly: ThemeInfo( | ||
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located | ||
//(used if a resource is not found in the page, | ||
// or application resource dictionaries) | ||
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located | ||
//(used if a resource is not found in the page, | ||
// app, or any theme specific resource dictionaries) | ||
)] |
26 changes: 26 additions & 0 deletions
26
maps-sdk/dotnet-maps-sdk/export-delta-geodatabase/ExportDeltaGeodatabase.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<OutputType>WinExe</OutputType> | ||
<TargetFramework>net8.0-windows10.0.19041.0</TargetFramework> | ||
<Nullable>enable</Nullable> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<UseWPF>true</UseWPF> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<None Remove="SanFrancisco.tpkx" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<EmbeddedResource Include="SanFrancisco.tpkx"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</EmbeddedResource> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Esri.ArcGISRuntime" Version="200.6.0" /> | ||
<PackageReference Include="Esri.ArcGISRuntime.WPF" Version="200.6.0" /> | ||
</ItemGroup> | ||
|
||
</Project> |
22 changes: 22 additions & 0 deletions
22
maps-sdk/dotnet-maps-sdk/export-delta-geodatabase/ExportDeltaGeodatabase.sln
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.12.35527.113 d17.12 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ExportDeltaGeodatabase", "ExportDeltaGeodatabase.csproj", "{BC2CBF43-88AF-4D89-B7DA-27C98750196C}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{BC2CBF43-88AF-4D89-B7DA-27C98750196C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{BC2CBF43-88AF-4D89-B7DA-27C98750196C}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{BC2CBF43-88AF-4D89-B7DA-27C98750196C}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{BC2CBF43-88AF-4D89-B7DA-27C98750196C}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
EndGlobal |
45 changes: 45 additions & 0 deletions
45
maps-sdk/dotnet-maps-sdk/export-delta-geodatabase/MainWindow.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<Window x:Class="ExportDeltaGeodatabase.MainWindow" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
xmlns:local="clr-namespace:ExportDeltaGeodatabase" | ||
mc:Ignorable="d" | ||
Title="MainWindow" Height="450" Width="800" | ||
xmlns:esri="http://schemas.esri.com/arcgis/runtime/2013"> | ||
<Grid> | ||
<esri:MapView x:Name="MyMapView" GeoViewTapped="GeoViewTapped" /> | ||
<Border Style="{StaticResource BorderStyle}"> | ||
<StackPanel> | ||
<TextBlock x:Name="MyHelpLabel" | ||
FontWeight="SemiBold" | ||
Text="1. Click 'Generate geodatabase'" | ||
TextAlignment="Center" /> | ||
<Button x:Name="MyGenerateButton" | ||
Margin="0,5,0,5" | ||
Click="GenerateButton_Clicked" | ||
Content="Generate geodatabase" | ||
IsEnabled="False" /> | ||
<Button x:Name="MySyncButton" | ||
Margin="0,5,0,5" | ||
Click="SyncButton_Click" | ||
Content="Sync geodatabase" | ||
IsEnabled="False" /> | ||
<Button x:Name="MyDeltaButton" | ||
Margin="0,5,0,5" | ||
Click="DeltaButton_Click" | ||
Content="Export delta geodatabase" | ||
IsEnabled="False" /> | ||
<Button x:Name="MyReloadButton" | ||
Margin="0,5,0,5" | ||
Click="ReloadButton_Click" | ||
Content="Reload geodatabase" | ||
IsEnabled="False" /> | ||
<ProgressBar x:Name="MyProgressBar" | ||
MinHeight="15" | ||
Margin="0,5,0,0" | ||
Visibility="Collapsed" /> | ||
</StackPanel> | ||
</Border> | ||
</Grid> | ||
</Window> |
Oops, something went wrong.