attach.zip

Map/.vs/Map/v14/.suo

Map/Map.sln

Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 2013 VisualStudioVersion = 12.0.30723.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Map", "Map\Map.csproj", "{A7B649E2-C074-4C27-8A78-49AD34F57AB9}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Debug|ARM = Debug|ARM Debug|x86 = Debug|x86 Release|Any CPU = Release|Any CPU Release|ARM = Release|ARM Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {A7B649E2-C074-4C27-8A78-49AD34F57AB9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {A7B649E2-C074-4C27-8A78-49AD34F57AB9}.Debug|Any CPU.Build.0 = Debug|Any CPU {A7B649E2-C074-4C27-8A78-49AD34F57AB9}.Debug|Any CPU.Deploy.0 = Debug|Any CPU {A7B649E2-C074-4C27-8A78-49AD34F57AB9}.Debug|ARM.ActiveCfg = Debug|ARM {A7B649E2-C074-4C27-8A78-49AD34F57AB9}.Debug|ARM.Build.0 = Debug|ARM {A7B649E2-C074-4C27-8A78-49AD34F57AB9}.Debug|ARM.Deploy.0 = Debug|ARM {A7B649E2-C074-4C27-8A78-49AD34F57AB9}.Debug|x86.ActiveCfg = Debug|x86 {A7B649E2-C074-4C27-8A78-49AD34F57AB9}.Debug|x86.Build.0 = Debug|x86 {A7B649E2-C074-4C27-8A78-49AD34F57AB9}.Debug|x86.Deploy.0 = Debug|x86 {A7B649E2-C074-4C27-8A78-49AD34F57AB9}.Release|Any CPU.ActiveCfg = Release|Any CPU {A7B649E2-C074-4C27-8A78-49AD34F57AB9}.Release|Any CPU.Build.0 = Release|Any CPU {A7B649E2-C074-4C27-8A78-49AD34F57AB9}.Release|Any CPU.Deploy.0 = Release|Any CPU {A7B649E2-C074-4C27-8A78-49AD34F57AB9}.Release|ARM.ActiveCfg = Release|ARM {A7B649E2-C074-4C27-8A78-49AD34F57AB9}.Release|ARM.Build.0 = Release|ARM {A7B649E2-C074-4C27-8A78-49AD34F57AB9}.Release|ARM.Deploy.0 = Release|ARM {A7B649E2-C074-4C27-8A78-49AD34F57AB9}.Release|x86.ActiveCfg = Release|x86 {A7B649E2-C074-4C27-8A78-49AD34F57AB9}.Release|x86.Build.0 = Release|x86 {A7B649E2-C074-4C27-8A78-49AD34F57AB9}.Release|x86.Deploy.0 = Release|x86 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection EndGlobal

Map/Map.v12.suo

Map/Map/App.xaml

<Application x:Class="Map.App" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:Map"> </Application>

Map/Map/App.xaml.cs

using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xaml.Data; using Windows.UI.Xaml.Input; using Windows.UI.Xaml.Media; using Windows.UI.Xaml.Media.Animation; using Windows.UI.Xaml.Navigation; namespace Map { public sealed partial class App : Application { private TransitionCollection transitions; public App() { this.InitializeComponent(); this.Suspending += this.OnSuspending; } protected override void OnLaunched(LaunchActivatedEventArgs e) { #if DEBUG if (System.Diagnostics.Debugger.IsAttached) { this.DebugSettings.EnableFrameRateCounter = true; } #endif Frame rootFrame = Window.Current.Content as Frame; // just ensure that the window is active if (rootFrame == null) { // Create a Frame to act as the navigation context and navigate to the first page rootFrame = new Frame(); // TODO: change this value to a cache size that is appropriate for your application rootFrame.CacheSize = 1; if (e.PreviousExecutionState == ApplicationExecutionState.Terminated) { // TODO: Load state from previously suspended application } // Place the frame in the current Window Window.Current.Content = rootFrame; } if (rootFrame.Content == null) { // Removes the turnstile navigation for startup. if (rootFrame.ContentTransitions != null) { this.transitions = new TransitionCollection(); foreach (var c in rootFrame.ContentTransitions) { this.transitions.Add(c); } } rootFrame.ContentTransitions = null; rootFrame.Navigated += this.RootFrame_FirstNavigated; if (!rootFrame.Navigate(typeof(MainPage), e.Arguments)) { throw new Exception("Failed to create initial page"); } } //Windows.UI.ViewManagement.ApplicationView.GetForCurrentView().SetDesiredBoundsMode( //Windows.UI.ViewManagement.ApplicationViewBoundsMode.UseCoreWindow); // Ensure the current window is active Window.Current.Activate(); } private void RootFrame_FirstNavigated(object sender, NavigationEventArgs e) { var rootFrame = sender as Frame; rootFrame.ContentTransitions = this.transitions ?? new TransitionCollection() { new NavigationThemeTransition() }; rootFrame.Navigated -= this.RootFrame_FirstNavigated; } private void OnSuspending(object sender, SuspendingEventArgs e) { var deferral = e.SuspendingOperation.GetDeferral(); // TODO: Save application state and stop any background activity deferral.Complete(); } } }

Map/Map/Assets/Logo.scale-240.png

Map/Map/Assets/my-position.png

Map/Map/Assets/SmallLogo.scale-240.png

Map/Map/Assets/SplashScreen.scale-240.png

Map/Map/Assets/Square71x71Logo.scale-240.png

Map/Map/Assets/StoreLogo.scale-240.png

Map/Map/Assets/Thumbs.db

Map/Map/Assets/WideLogo.scale-240.png

Map/Map/bin/Debug/App.xbf

Map/Map/bin/Debug/AppxManifest.xml

Map Nibir Assets\StoreLogo.png 6.3.1 6.3.1

Map/Map/bin/Debug/MainPage.xbf

Map/Map/bin/Debug/Map.build.appxrecipe

FAC-YOONUC sung WindowsPhoneApp 6.3 Windows Phone 8.1 Debug|AnyCPU neutral ca5e8dcc-c875-4469-b2d7-262fc1ae1a1d C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\obj\Debug\ AppxManifest.xml true Map.exe Assets\Logo.scale-240.png true Assets\my-position.png Assets\SmallLogo.scale-240.png true Assets\SplashScreen.scale-240.png true Assets\Square71x71Logo.scale-240.png true Assets\StoreLogo.scale-240.png true Assets\WideLogo.scale-240.png true Map.xr.xml App.xbf MainPage.xbf resources.pri

Map/Map/bin/Debug/Map.exe

Map/Map/bin/Debug/Map.pdb

Map/Map/bin/Debug/Map.xr.xml

Map/Map/bin/Debug/resources.pri

Map/Map/MainPage.xaml

<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:Map" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:Maps="using:Windows.UI.Xaml.Controls.Maps" x:Class="Map.MainPage" mc:Ignorable="d" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> <Page.BottomAppBar> <CommandBar ClosedDisplayMode="Minimal" Opacity="0.5"> <AppBarButton Label="locate me" Icon="Target" Click="LocateMe_Click" /> </CommandBar> </Page.BottomAppBar> <Grid HorizontalAlignment="Stretch" Margin="8,8,8,8" VerticalAlignment="Stretch"> <Grid.RowDefinitions> <RowDefinition Height="10"/> <RowDefinition Height="50"/> <RowDefinition Height="*"/> <RowDefinition Height="40"/> </Grid.RowDefinitions> <Canvas> <ProgressBar x:Name="progressBar" Grid.Row="0" IsIndeterminate="True" Maximum="100" Value="30" Height="10" Width="400"/> </Canvas> <TextBlock TextWrapping="NoWrap" Grid.Row="1" Text="Map control" FontSize="36" Margin="8,0,0,16" /> <Maps:MapControl x:Name="MyMap" Grid.Row="2" MapServiceToken="AhNiMWyZGtpLhoo_0jqG4COVwiraMYg5PVs6O9H8JrBWeEQVdf9CIW-ou_pue4Jt" HorizontalAlignment="Left" VerticalAlignment="Top" Height="500" Width="385" MapTapped="MyMap_MapTapped" /> <Slider x:Name="mySlider" Grid.Row="3" Maximum="20" Minimum="10" ValueChanged="Slider_ValueChanged" /> </Grid> </Page>

Map/Map/MainPage.xaml.cs

using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using System.Text; using Windows.Devices.Geolocation; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.Services.Maps; using Windows.Storage.Streams; using Windows.UI; using Windows.UI.Core; using Windows.UI.Popups; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Maps; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xaml.Data; using Windows.UI.Xaml.Input; using Windows.UI.Xaml.Media; using Windows.UI.Xaml.Navigation; using Windows.UI.Xaml.Shapes; namespace Map { public sealed partial class MainPage : Page { Geolocator geolocator; public MainPage() { this.InitializeComponent(); this.NavigationCacheMode = NavigationCacheMode.Required; } protected async override void OnNavigatedTo(NavigationEventArgs e) { MyMap.MapServiceToken = "AhNiMWyZGtpLhoo_0jqG4COVwiraMYg5PVs6O9H8JrBWeEQVdf9CIW-ou_pue4Jt"; //var httpsource = new HttpMapTileDataSource("http://a.tile.openstreetmap.org/{zoomlevel}/{x}/{y}.png"); //var ts = new MapTileSource(httpsource); //MyMap.TileSources.Add(ts); geolocator = new Geolocator(); geolocator.DesiredAccuracyInMeters = 50; try { Geoposition geoposition = await geolocator.GetGeopositionAsync(); MapIcon mapIcon = new MapIcon(); mapIcon.Image = RandomAccessStreamReference.CreateFromUri(new Uri("ms-appx:///Assets/my-position.png")); mapIcon.Title = "Current Location"; mapIcon.Location = new Geopoint(new BasicGeoposition() { //Latitude = geoposition.Coordinate.Latitude, //Longitude = geoposition.Coordinate.Longitude Latitude = geoposition.Coordinate.Point.Position.Latitude, Longitude = geoposition.Coordinate.Point.Position.Longitude }); mapIcon.NormalizedAnchorPoint = new Point(0.5, 0.5); MyMap.MapElements.Add(mapIcon); await MyMap.TrySetViewAsync(mapIcon.Location, 18D, 0, 0, MapAnimationKind.Bow); /*var pushpin = CreatePushPin(); MyMap.Children.Add(pushpin); var location = new Geopoint(new BasicGeoposition() { Latitude = geoposition.Coordinate.Latitude, Longitude = geoposition.Coordinate.Longitude }); MapControl.SetLocation(pushpin, location); MapControl.SetNormalizedAnchorPoint(pushpin, new Point(0.0, 1.0)); await MyMap.TrySetViewAsync(location, 18D, 0, 0, MapAnimationKind.Bow);*/ progressBar.Visibility = Windows.UI.Xaml.Visibility.Collapsed; mySlider.Value = MyMap.ZoomLevel; } catch (UnauthorizedAccessException) { MessageBox("Location service is turned off!"); } base.OnNavigatedTo(e); } private DependencyObject CreatePushPin() { // Creating a Grid element. //var myGrid = new Grid(); //myGrid.RowDefinitions.Add(new RowDefinition()); //myGrid.RowDefinitions.Add(new RowDefinition()); //myGrid.Background = new SolidColorBrush(Colors.Transparent); // Creating a Polygon Marker Polygon polygon = new Polygon(); polygon.Points.Add(new Point(0, 0)); polygon.Points.Add(new Point(0, 50)); polygon.Points.Add(new Point(25, 0)); polygon.Fill = new SolidColorBrush(Colors.Red); // Adding the Polygon to the Grid //myGrid.Children.Add(polygon); return polygon; } private async void MyMap_MapTapped(MapControl sender, MapInputEventArgs args) { Geopoint pointToReverseGeocode = new Geopoint(args.Location.Position); // Reverse geocode the specified geographic location. MapLocationFinderResult result = await MapLocationFinder.FindLocationsAtAsync(pointToReverseGeocode); var resultText = new StringBuilder(); if (result.Status == MapLocationFinderStatus.Success) { resultText.AppendLine(result.Locations[0].Address.District + ", " + result.Locations[0].Address.Town + ", " + result.Locations[0].Address.Country); } MessageBox(resultText.ToString()); // Start at Grand Central Station. BasicGeoposition startLocation = new BasicGeoposition(); startLocation.Latitude = 40.7517; startLocation.Longitude = -073.9766; Geopoint startPoint = new Geopoint(startLocation); // End at Central Park. BasicGeoposition endLocation = new BasicGeoposition(); endLocation.Latitude = 40.7669; endLocation.Longitude = -073.9790; Geopoint endPoint = new Geopoint(endLocation); // Get the route between the points. MapRouteFinderResult routeResult = await MapRouteFinder.GetDrivingRouteAsync( startPoint, endPoint, MapRouteOptimization.Time, MapRouteRestrictions.None, 290); //check route is found } private void Slider_ValueChanged(object sender, RangeBaseValueChangedEventArgs e) { if (MyMap != null) MyMap.ZoomLevel = e.NewValue; } private async void LocateMe_Click(object sender, RoutedEventArgs e) { progressBar.Visibility = Windows.UI.Xaml.Visibility.Visible; geolocator = new Geolocator(); geolocator.DesiredAccuracyInMeters = 50; try { Geoposition geoposition = await geolocator.GetGeopositionAsync(); await MyMap.TrySetViewAsync(geoposition.Coordinate.Point, 18D); mySlider.Value = MyMap.ZoomLevel; progressBar.Visibility = Windows.UI.Xaml.Visibility.Collapsed; } catch (UnauthorizedAccessException) { MessageBox("Location service is turned off!"); } } private async void MessageBox(string message) { var dialog = new MessageDialog(message.ToString()); await Dispatcher.RunAsync(CoreDispatcherPriority.Normal, async () => await dialog.ShowAsync()); } } }

Map/Map/Map.csproj

Debug AnyCPU {A7B649E2-C074-4C27-8A78-49AD34F57AB9} AppContainerExe Properties Map Map en-US 8.1 12 512 {76F1466A-8B6D-4E39-A767-685A06062A39};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} AnyCPU true full false bin\Debug\ DEBUG;TRACE;NETFX_CORE;WINDOWS_PHONE_APP prompt 4 AnyCPU pdbonly true bin\Release\ TRACE;NETFX_CORE;WINDOWS_PHONE_APP prompt 4 true bin\ARM\Debug\ DEBUG;TRACE;NETFX_CORE;WINDOWS_PHONE_APP ;2008 full ARM false prompt true bin\ARM\Release\ TRACE;NETFX_CORE;WINDOWS_PHONE_APP true ;2008 pdbonly ARM false prompt true true bin\x86\Debug\ DEBUG;TRACE;NETFX_CORE;WINDOWS_PHONE_APP ;2008 full x86 false prompt true bin\x86\Release\ TRACE;NETFX_CORE;WINDOWS_PHONE_APP true ;2008 pdbonly x86 false prompt true App.xaml MainPage.xaml Designer MSBuild:Compile Designer MSBuild:Compile Designer 12.0 WindowsPhoneApp

Map/Map/Map.csproj.user

57B0267A-6444-41EB-9127-2ED594284A2D

Map/Map/obj/Debug/App.g.cs

#pragma checksum "C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "1792B2FD3BC6CACF363DA2660055BDC9" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ namespace Map { partial class App : global::Windows.UI.Xaml.Application, global::Windows.UI.Xaml.Markup.IComponentConnector { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks"," 4.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void Connect(int connectionId, object target) { this._contentLoaded = true; } } }

Map/Map/obj/Debug/App.g.i.cs

#pragma checksum "C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "1792B2FD3BC6CACF363DA2660055BDC9" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ namespace Map { #if !DISABLE_XAML_GENERATED_MAIN public static class Program { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks"," 4.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] static void Main(string[] args) { global::Windows.UI.Xaml.Application.Start((p) => new App()); } } #endif partial class App : global::Windows.UI.Xaml.Application { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks"," 4.0.0.0")] private bool _contentLoaded; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks"," 4.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void InitializeComponent() { if (_contentLoaded) return; _contentLoaded = true; #if DEBUG && !DISABLE_XAML_GENERATED_BINDING_DEBUG_OUTPUT DebugSettings.BindingFailed += (sender, args) => { global::System.Diagnostics.Debug.WriteLine(args.Message); }; #endif #if DEBUG && !DISABLE_XAML_GENERATED_BREAK_ON_UNHANDLED_EXCEPTION UnhandledException += (sender, e) => { if (global::System.Diagnostics.Debugger.IsAttached) global::System.Diagnostics.Debugger.Break(); }; #endif } } }

Map/Map/obj/Debug/App.xaml

<Application x:Class="Map.App" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:Map"> </Application>

Map/Map/obj/Debug/App.xbf

Map/Map/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache

Map/Map/obj/Debug/intermediatexaml/Map.exe

Map/Map/obj/Debug/intermediatexaml/Map.pdb

Map/Map/obj/Debug/layout.resfiles

Assets\Logo.scale-240.png Assets\my-position.png Assets\SmallLogo.scale-240.png Assets\SplashScreen.scale-240.png Assets\Square71x71Logo.scale-240.png Assets\StoreLogo.scale-240.png Assets\WideLogo.scale-240.png App.xbf MainPage.xbf Map.xr.xml

Map/Map/obj/Debug/layout.resfiles.intermediate

Assets\Logo.scale-240.png Assets\my-position.png Assets\SmallLogo.scale-240.png Assets\SplashScreen.scale-240.png Assets\Square71x71Logo.scale-240.png Assets\StoreLogo.scale-240.png Assets\WideLogo.scale-240.png App.xbf MainPage.xbf Map.xr.xml

Map/Map/obj/Debug/MainPage.g.cs

#pragma checksum "C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\MainPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "32B69ED77202C3FFB0669BB8CF69FD74" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ namespace Map { partial class MainPage : global::Windows.UI.Xaml.Controls.Page, global::Windows.UI.Xaml.Markup.IComponentConnector { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks"," 4.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void Connect(int connectionId, object target) { switch(connectionId) { case 1: #line 14 "..\..\MainPage.xaml" ((global::Windows.UI.Xaml.Controls.Primitives.ButtonBase)(target)).Click += this.LocateMe_Click; #line default #line hidden break; case 2: #line 45 "..\..\MainPage.xaml" ((global::Windows.UI.Xaml.Controls.Maps.MapControl)(target)).MapTapped += this.MyMap_MapTapped; #line default #line hidden break; case 3: #line 49 "..\..\MainPage.xaml" ((global::Windows.UI.Xaml.Controls.Primitives.RangeBase)(target)).ValueChanged += this.Slider_ValueChanged; #line default #line hidden break; } this._contentLoaded = true; } } }

Map/Map/obj/Debug/MainPage.g.i.cs

#pragma checksum "C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\MainPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "32B69ED77202C3FFB0669BB8CF69FD74" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ namespace Map { partial class MainPage : global::Windows.UI.Xaml.Controls.Page { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks"," 4.0.0.0")] private global::Windows.UI.Xaml.Controls.Maps.MapControl MyMap; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks"," 4.0.0.0")] private global::Windows.UI.Xaml.Controls.Slider mySlider; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks"," 4.0.0.0")] private global::Windows.UI.Xaml.Controls.ProgressBar progressBar; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks"," 4.0.0.0")] private bool _contentLoaded; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks"," 4.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void InitializeComponent() { if (_contentLoaded) return; _contentLoaded = true; global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///MainPage.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application); MyMap = (global::Windows.UI.Xaml.Controls.Maps.MapControl)this.FindName("MyMap"); mySlider = (global::Windows.UI.Xaml.Controls.Slider)this.FindName("mySlider"); progressBar = (global::Windows.UI.Xaml.Controls.ProgressBar)this.FindName("progressBar"); } } }

Map/Map/obj/Debug/MainPage.xaml

<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:Map" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:Maps="using:Windows.UI.Xaml.Controls.Maps" x:Class="Map.MainPage" mc:Ignorable="d" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> <Page.BottomAppBar> <CommandBar ClosedDisplayMode="Minimal" Opacity="0.5"> <AppBarButton x:ConnectionId='1' Label="locate me" Icon="Target" /> </CommandBar> </Page.BottomAppBar> <Grid HorizontalAlignment="Stretch" Margin="8,8,8,8" VerticalAlignment="Stretch"> <Grid.RowDefinitions> <RowDefinition Height="10"/> <RowDefinition Height="50"/> <RowDefinition Height="*"/> <RowDefinition Height="40"/> </Grid.RowDefinitions> <Canvas> <ProgressBar x:Name="progressBar" Grid.Row="0" IsIndeterminate="True" Maximum="100" Value="30" Height="10" Width="400"/> </Canvas> <TextBlock TextWrapping="NoWrap" Grid.Row="1" Text="Map control" FontSize="36" Margin="8,0,0,16" /> <Maps:MapControl x:ConnectionId='2' x:Name="MyMap" Grid.Row="2" MapServiceToken="AhNiMWyZGtpLhoo_0jqG4COVwiraMYg5PVs6O9H8JrBWeEQVdf9CIW-ou_pue4Jt" HorizontalAlignment="Left" VerticalAlignment="Top" Height="500" Width="385" /> <Slider x:ConnectionId='3' x:Name="mySlider" Grid.Row="3" Maximum="20" Minimum="10" /> </Grid> </Page>

Map/Map/obj/Debug/MainPage.xbf

Map/Map/obj/Debug/Map.csproj.FileListAbsolute.txt

c:\users\nibir\documents\visual studio 2013\Projects\Map\Map\bin\Debug\App.xbf c:\users\nibir\documents\visual studio 2013\Projects\Map\Map\bin\Debug\MainPage.xbf c:\users\nibir\documents\visual studio 2013\Projects\Map\Map\bin\Debug\Map.xr.xml c:\users\nibir\documents\visual studio 2013\Projects\Map\Map\bin\Debug\Map.exe c:\users\nibir\documents\visual studio 2013\Projects\Map\Map\bin\Debug\Map.pdb c:\users\nibir\documents\visual studio 2013\Projects\Map\Map\bin\Debug\resources.pri c:\users\nibir\documents\visual studio 2013\Projects\Map\Map\bin\Debug\AppxManifest.xml c:\users\nibir\documents\visual studio 2013\Projects\Map\Map\bin\Debug\Map.build.appxrecipe c:\users\nibir\documents\visual studio 2013\Projects\Map\Map\obj\Debug\App.g.i.cs c:\users\nibir\documents\visual studio 2013\Projects\Map\Map\obj\Debug\App.g.cs c:\users\nibir\documents\visual studio 2013\Projects\Map\Map\obj\Debug\MainPage.g.i.cs c:\users\nibir\documents\visual studio 2013\Projects\Map\Map\obj\Debug\MainPage.g.cs c:\users\nibir\documents\visual studio 2013\Projects\Map\Map\obj\Debug\XamlTypeInfo.g.cs c:\users\nibir\documents\visual studio 2013\Projects\Map\Map\obj\Debug\App.xaml c:\users\nibir\documents\visual studio 2013\Projects\Map\Map\obj\Debug\App.xbf c:\users\nibir\documents\visual studio 2013\Projects\Map\Map\obj\Debug\XamlSaveStateFile.xml c:\users\nibir\documents\visual studio 2013\Projects\Map\Map\obj\Debug\MainPage.xaml c:\users\nibir\documents\visual studio 2013\Projects\Map\Map\obj\Debug\MainPage.xbf c:\users\nibir\documents\visual studio 2013\Projects\Map\Map\obj\Debug\Map.exe c:\users\nibir\documents\visual studio 2013\Projects\Map\Map\obj\Debug\Map.pdb c:\users\nibir\documents\visual studio 2013\Projects\Map\Map\obj\Debug\priconfig.xml c:\users\nibir\documents\visual studio 2013\Projects\Map\Map\obj\Debug\priconfig.xml.intermediate c:\users\nibir\documents\visual studio 2013\Projects\Map\Map\obj\Debug\layout.resfiles c:\users\nibir\documents\visual studio 2013\Projects\Map\Map\obj\Debug\layout.resfiles.intermediate c:\users\nibir\documents\visual studio 2013\Projects\Map\Map\obj\Debug\resources.resfiles c:\users\nibir\documents\visual studio 2013\Projects\Map\Map\obj\Debug\resources.resfiles.intermediate c:\users\nibir\documents\visual studio 2013\Projects\Map\Map\obj\Debug\pri.resfiles c:\users\nibir\documents\visual studio 2013\Projects\Map\Map\obj\Debug\pri.resfiles.intermediate c:\users\nibir\documents\visual studio 2013\Projects\Map\Map\obj\Debug\qualifiers.txt c:\users\nibir\documents\visual studio 2013\Projects\Map\Map\obj\Debug\qualifiers.txt.intermediate c:\users\nibir\documents\visual studio 2013\Projects\Map\Map\obj\Debug\MultipleQualifiersPerDimensionFound.txt c:\users\nibir\documents\visual studio 2013\Projects\Map\Map\obj\Debug\ProjectArchitectures.txt C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\bin\Debug\App.xbf C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\bin\Debug\MainPage.xbf C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\bin\Debug\Map.xr.xml C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\bin\Debug\Map.exe C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\bin\Debug\Map.pdb C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\bin\Debug\resources.pri C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\bin\Debug\AppxManifest.xml C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\bin\Debug\Map.build.appxrecipe C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\obj\Debug\App.g.i.cs C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\obj\Debug\App.g.cs C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\obj\Debug\MainPage.g.i.cs C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\obj\Debug\MainPage.g.cs C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\obj\Debug\XamlTypeInfo.g.cs C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\obj\Debug\App.xaml C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\obj\Debug\MainPage.xaml C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\obj\Debug\App.xbf C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\obj\Debug\MainPage.xbf C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\obj\Debug\XamlSaveStateFile.xml C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\obj\Debug\Map.exe C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\obj\Debug\Map.pdb C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\obj\Debug\priconfig.xml C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\obj\Debug\priconfig.xml.intermediate C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\obj\Debug\layout.resfiles C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\obj\Debug\layout.resfiles.intermediate C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\obj\Debug\resources.resfiles C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\obj\Debug\resources.resfiles.intermediate C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\obj\Debug\pri.resfiles C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\obj\Debug\pri.resfiles.intermediate C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\obj\Debug\qualifiers.txt C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\obj\Debug\qualifiers.txt.intermediate C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\obj\Debug\MultipleQualifiersPerDimensionFound.txt C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\obj\Debug\ProjectArchitectures.txt

Map/Map/obj/Debug/Map.exe

Map/Map/obj/Debug/Map.pdb

Map/Map/obj/Debug/Map.xr.xml

Map/Map/obj/Debug/MapIconControl.g.cs

Map/Map/obj/Debug/MapIconControl.g.i.cs

#pragma checksum "c:\users\nibir\documents\visual studio 2013\Projects\Map\Map\MapIconControl.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "97BF29243132753AA840EC7E12038F49" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ namespace Map { partial class MapIconControl : global::Windows.UI.Xaml.Controls.UserControl { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks"," 4.0.0.0")] private bool _contentLoaded; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks"," 4.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void InitializeComponent() { if (_contentLoaded) return; _contentLoaded = true; global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///MapIconControl.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application); } } }

Map/Map/obj/Debug/MultipleQualifiersPerDimensionFound.txt

False

Map/Map/obj/Debug/MyUserControl.g.cs

Map/Map/obj/Debug/MyUserControl.g.i.cs

#pragma checksum "c:\users\nibir\documents\visual studio 2013\Projects\Map\Map\MyUserControl.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "24A4AE389A773D463C311A816EB9FD08" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ namespace Map { partial class MyUserControl : global::Windows.UI.Xaml.Controls.UserControl { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks"," 4.0.0.0")] private bool _contentLoaded; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks"," 4.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void InitializeComponent() { if (_contentLoaded) return; _contentLoaded = true; global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///MyUserControl.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application); } } }

Map/Map/obj/Debug/pri.resfiles

Map/Map/obj/Debug/pri.resfiles.intermediate

Map/Map/obj/Debug/priconfig.xml

Map/Map/obj/Debug/priconfig.xml.intermediate

Map/Map/obj/Debug/ProjectArchitectures.txt

C:\Users\sung\Documents\Visual Studio 2015\Projects\Map\Map\Map\Map.csproj;neutral

Map/Map/obj/Debug/qualifiers.txt

Scale=240

Map/Map/obj/Debug/qualifiers.txt.intermediate

Scale=240

Map/Map/obj/Debug/resources.resfiles

Map/Map/obj/Debug/resources.resfiles.intermediate

Map/Map/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs

Map/Map/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs

Map/Map/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs

Map/Map/obj/Debug/XamlSaveStateFile.xml

Map/Map/obj/Debug/XamlTypeInfo.g.cs

//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ namespace Map { public partial class App : global::Windows.UI.Xaml.Markup.IXamlMetadataProvider { private global::Map.Map_XamlTypeInfo.XamlTypeInfoProvider _provider; public global::Windows.UI.Xaml.Markup.IXamlType GetXamlType(global::System.Type type) { if(_provider == null) { _provider = new global::Map.Map_XamlTypeInfo.XamlTypeInfoProvider(); } return _provider.GetXamlTypeByType(type); } public global::Windows.UI.Xaml.Markup.IXamlType GetXamlType(string fullName) { if(_provider == null) { _provider = new global::Map.Map_XamlTypeInfo.XamlTypeInfoProvider(); } return _provider.GetXamlTypeByName(fullName); } public global::Windows.UI.Xaml.Markup.XmlnsDefinition[] GetXmlnsDefinitions() { return new global::Windows.UI.Xaml.Markup.XmlnsDefinition[0]; } } } namespace Map.Map_XamlTypeInfo { [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks", "4.0.0.0")] [System.Diagnostics.DebuggerNonUserCodeAttribute()] internal partial class XamlTypeInfoProvider { public global::Windows.UI.Xaml.Markup.IXamlType GetXamlTypeByType(global::System.Type type) { global::Windows.UI.Xaml.Markup.IXamlType xamlType; if (_xamlTypeCacheByType.TryGetValue(type, out xamlType)) { return xamlType; } int typeIndex = LookupTypeIndexByType(type); if(typeIndex != -1) { xamlType = CreateXamlType(typeIndex); } if (xamlType != null) { _xamlTypeCacheByName.Add(xamlType.FullName, xamlType); _xamlTypeCacheByType.Add(xamlType.UnderlyingType, xamlType); } return xamlType; } public global::Windows.UI.Xaml.Markup.IXamlType GetXamlTypeByName(string typeName) { if (string.IsNullOrEmpty(typeName)) { return null; } global::Windows.UI.Xaml.Markup.IXamlType xamlType; if (_xamlTypeCacheByName.TryGetValue(typeName, out xamlType)) { return xamlType; } int typeIndex = LookupTypeIndexByName(typeName); if(typeIndex != -1) { xamlType = CreateXamlType(typeIndex); } if (xamlType != null) { _xamlTypeCacheByName.Add(xamlType.FullName, xamlType); _xamlTypeCacheByType.Add(xamlType.UnderlyingType, xamlType); } return xamlType; } public global::Windows.UI.Xaml.Markup.IXamlMember GetMemberByLongName(string longMemberName) { if (string.IsNullOrEmpty(longMemberName)) { return null; } global::Windows.UI.Xaml.Markup.IXamlMember xamlMember; if (_xamlMembers.TryGetValue(longMemberName, out xamlMember)) { return xamlMember; } xamlMember = CreateXamlMember(longMemberName); if (xamlMember != null) { _xamlMembers.Add(longMemberName, xamlMember); } return xamlMember; } global::System.Collections.Generic.Dictionary<string, global::Windows.UI.Xaml.Markup.IXamlType> _xamlTypeCacheByName = new global::System.Collections.Generic.Dictionary<string, global::Windows.UI.Xaml.Markup.IXamlType>(); global::System.Collections.Generic.Dictionary<global::System.Type, global::Windows.UI.Xaml.Markup.IXamlType> _xamlTypeCacheByType = new global::System.Collections.Generic.Dictionary<global::System.Type, global::Windows.UI.Xaml.Markup.IXamlType>(); global::System.Collections.Generic.Dictionary<string, global::Windows.UI.Xaml.Markup.IXamlMember> _xamlMembers = new global::System.Collections.Generic.Dictionary<string, global::Windows.UI.Xaml.Markup.IXamlMember>(); string[] _typeNameTable = null; global::System.Type[] _typeTable = null; private void InitTypeTables() { _typeNameTable = new string[3]; _typeNameTable[0] = "Map.MainPage"; _typeNameTable[1] = "Windows.UI.Xaml.Controls.Page"; _typeNameTable[2] = "Windows.UI.Xaml.Controls.UserControl"; _typeTable = new global::System.Type[3]; _typeTable[0] = typeof(global::Map.MainPage); _typeTable[1] = typeof(global::Windows.UI.Xaml.Controls.Page); _typeTable[2] = typeof(global::Windows.UI.Xaml.Controls.UserControl); } private int LookupTypeIndexByName(string typeName) { if (_typeNameTable == null) { InitTypeTables(); } for (int i=0; i<_typeNameTable.Length; i++) { if(0 == string.CompareOrdinal(_typeNameTable[i], typeName)) { return i; } } return -1; } private int LookupTypeIndexByType(global::System.Type type) { if (_typeTable == null) { InitTypeTables(); } for(int i=0; i<_typeTable.Length; i++) { if(type == _typeTable[i]) { return i; } } return -1; } private object Activate_0_MainPage() { return new global::Map.MainPage(); } private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::Map.Map_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::Map.Map_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // Map.MainPage userType = new global::Map.Map_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_0_MainPage; userType.SetIsLocalType(); xamlType = userType; break; case 1: // Windows.UI.Xaml.Controls.Page xamlType = new global::Map.Map_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::Map.Map_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; } return xamlType; } private global::Windows.UI.Xaml.Markup.IXamlMember CreateXamlMember(string longMemberName) { global::Map.Map_XamlTypeInfo.XamlMember xamlMember = null; // No Local Properties return xamlMember; } } [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks", "4.0.0.0")] [System.Diagnostics.DebuggerNonUserCodeAttribute()] internal class XamlSystemBaseType : global::Windows.UI.Xaml.Markup.IXamlType { string _fullName; global::System.Type _underlyingType; public XamlSystemBaseType(string fullName, global::System.Type underlyingType) { _fullName = fullName; _underlyingType = underlyingType; } public string FullName { get { return _fullName; } } public global::System.Type UnderlyingType { get { return _underlyingType; } } virtual public global::Windows.UI.Xaml.Markup.IXamlType BaseType { get { throw new global::System.NotImplementedException(); } } virtual public global::Windows.UI.Xaml.Markup.IXamlMember ContentProperty { get { throw new global::System.NotImplementedException(); } } virtual public global::Windows.UI.Xaml.Markup.IXamlMember GetMember(string name) { throw new global::System.NotImplementedException(); } virtual public bool IsArray { get { throw new global::System.NotImplementedException(); } } virtual public bool IsCollection { get { throw new global::System.NotImplementedException(); } } virtual public bool IsConstructible { get { throw new global::System.NotImplementedException(); } } virtual public bool IsDictionary { get { throw new global::System.NotImplementedException(); } } virtual public bool IsMarkupExtension { get { throw new global::System.NotImplementedException(); } } virtual public bool IsBindable { get { throw new global::System.NotImplementedException(); } } virtual public bool IsReturnTypeStub { get { throw new global::System.NotImplementedException(); } } virtual public bool IsLocalType { get { throw new global::System.NotImplementedException(); } } virtual public global::Windows.UI.Xaml.Markup.IXamlType ItemType { get { throw new global::System.NotImplementedException(); } } virtual public global::Windows.UI.Xaml.Markup.IXamlType KeyType { get { throw new global::System.NotImplementedException(); } } virtual public object ActivateInstance() { throw new global::System.NotImplementedException(); } virtual public void AddToMap(object instance, object key, object item) { throw new global::System.NotImplementedException(); } virtual public void AddToVector(object instance, object item) { throw new global::System.NotImplementedException(); } virtual public void RunInitializer() { throw new global::System.NotImplementedException(); } virtual public object CreateFromString(string input) { throw new global::System.NotImplementedException(); } } internal delegate object Activator(); internal delegate void AddToCollection(object instance, object item); internal delegate void AddToDictionary(object instance, object key, object item); [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks", "4.0.0.0")] [System.Diagnostics.DebuggerNonUserCodeAttribute()] internal class XamlUserType : global::Map.Map_XamlTypeInfo.XamlSystemBaseType { global::Map.Map_XamlTypeInfo.XamlTypeInfoProvider _provider; global::Windows.UI.Xaml.Markup.IXamlType _baseType; bool _isArray; bool _isMarkupExtension; bool _isBindable; bool _isReturnTypeStub; bool _isLocalType; string _contentPropertyName; string _itemTypeName; string _keyTypeName; global::System.Collections.Generic.Dictionary<string, string> _memberNames; global::System.Collections.Generic.Dictionary<string, object> _enumValues; public XamlUserType(global::Map.Map_XamlTypeInfo.XamlTypeInfoProvider provider, string fullName, global::System.Type fullType, global::Windows.UI.Xaml.Markup.IXamlType baseType) :base(fullName, fullType) { _provider = provider; _baseType = baseType; } // --- Interface methods ---- override public global::Windows.UI.Xaml.Markup.IXamlType BaseType { get { return _baseType; } } override public bool IsArray { get { return _isArray; } } override public bool IsCollection { get { return (CollectionAdd != null); } } override public bool IsConstructible { get { return (Activator != null); } } override public bool IsDictionary { get { return (DictionaryAdd != null); } } override public bool IsMarkupExtension { get { return _isMarkupExtension; } } override public bool IsBindable { get { return _isBindable; } } override public bool IsReturnTypeStub { get { return _isReturnTypeStub; } } override public bool IsLocalType { get { return _isLocalType; } } override public global::Windows.UI.Xaml.Markup.IXamlMember ContentProperty { get { return _provider.GetMemberByLongName(_contentPropertyName); } } override public global::Windows.UI.Xaml.Markup.IXamlType ItemType { get { return _provider.GetXamlTypeByName(_itemTypeName); } } override public global::Windows.UI.Xaml.Markup.IXamlType KeyType { get { return _provider.GetXamlTypeByName(_keyTypeName); } } override public global::Windows.UI.Xaml.Markup.IXamlMember GetMember(string name) { if (_memberNames == null) { return null; } string longName; if (_memberNames.TryGetValue(name, out longName)) { return _provider.GetMemberByLongName(longName); } return null; } override public object ActivateInstance() { return Activator(); } override public void AddToMap(object instance, object key, object item) { DictionaryAdd(instance, key, item); } override public void AddToVector(object instance, object item) { CollectionAdd(instance, item); } override public void RunInitializer() { System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(UnderlyingType.TypeHandle); } override public object CreateFromString(string input) { if (_enumValues != null) { int value = 0; string[] valueParts = input.Split(','); foreach (string valuePart in valueParts) { object partValue; int enumFieldValue = 0; try { if (_enumValues.TryGetValue(valuePart.Trim(), out partValue)) { enumFieldValue = global::System.Convert.ToInt32(partValue); } else { try { enumFieldValue = global::System.Convert.ToInt32(valuePart.Trim()); } catch( global::System.FormatException ) { foreach( string key in _enumValues.Keys ) { if( string.Compare(valuePart.Trim(), key, global::System.StringComparison.OrdinalIgnoreCase) == 0 ) { if( _enumValues.TryGetValue(key.Trim(), out partValue) ) { enumFieldValue = global::System.Convert.ToInt32(partValue); break; } } } } } value |= enumFieldValue; } catch( global::System.FormatException ) { throw new global::System.ArgumentException(input, FullName); } } return value; } throw new global::System.ArgumentException(input, FullName); } // --- End of Interface methods public Activator Activator { get; set; } public AddToCollection CollectionAdd { get; set; } public AddToDictionary DictionaryAdd { get; set; } public void SetContentPropertyName(string contentPropertyName) { _contentPropertyName = contentPropertyName; } public void SetIsArray() { _isArray = true; } public void SetIsMarkupExtension() { _isMarkupExtension = true; } public void SetIsBindable() { _isBindable = true; } public void SetIsReturnTypeStub() { _isReturnTypeStub = true; } public void SetIsLocalType() { _isLocalType = true; } public void SetItemTypeName(string itemTypeName) { _itemTypeName = itemTypeName; } public void SetKeyTypeName(string keyTypeName) { _keyTypeName = keyTypeName; } public void AddMemberName(string shortName) { if(_memberNames == null) { _memberNames = new global::System.Collections.Generic.Dictionary<string,string>(); } _memberNames.Add(shortName, FullName + "." + shortName); } public void AddEnumValue(string name, object value) { if (_enumValues == null) { _enumValues = new global::System.Collections.Generic.Dictionary<string, object>(); } _enumValues.Add(name, value); } } internal delegate object Getter(object instance); internal delegate void Setter(object instance, object value); [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks", "4.0.0.0")] [System.Diagnostics.DebuggerNonUserCodeAttribute()] internal class XamlMember : global::Windows.UI.Xaml.Markup.IXamlMember { global::Map.Map_XamlTypeInfo.XamlTypeInfoProvider _provider; string _name; bool _isAttachable; bool _isDependencyProperty; bool _isReadOnly; string _typeName; string _targetTypeName; public XamlMember(global::Map.Map_XamlTypeInfo.XamlTypeInfoProvider provider, string name, string typeName) { _name = name; _typeName = typeName; _provider = provider; } public string Name { get { return _name; } } public global::Windows.UI.Xaml.Markup.IXamlType Type { get { return _provider.GetXamlTypeByName(_typeName); } } public void SetTargetTypeName(string targetTypeName) { _targetTypeName = targetTypeName; } public global::Windows.UI.Xaml.Markup.IXamlType TargetType { get { return _provider.GetXamlTypeByName(_targetTypeName); } } public void SetIsAttachable() { _isAttachable = true; } public bool IsAttachable { get { return _isAttachable; } } public void SetIsDependencyProperty() { _isDependencyProperty = true; } public bool IsDependencyProperty { get { return _isDependencyProperty; } } public void SetIsReadOnly() { _isReadOnly = true; } public bool IsReadOnly { get { return _isReadOnly; } } public Getter Getter { get; set; } public object GetValue(object instance) { if (Getter != null) return Getter(instance); else throw new global::System.InvalidOperationException("GetValue"); } public Setter Setter { get; set; } public void SetValue(object instance, object value) { if (Setter != null) Setter(instance, value); else throw new global::System.InvalidOperationException("SetValue"); } } }

Map/Map/obj/Debug/XamlTypeInfo.g.cs.backup

//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ namespace Map { public partial class App : global::Windows.UI.Xaml.Markup.IXamlMetadataProvider { private global::Map.Map_XamlTypeInfo.XamlTypeInfoProvider _provider; public global::Windows.UI.Xaml.Markup.IXamlType GetXamlType(global::System.Type type) { if(_provider == null) { _provider = new global::Map.Map_XamlTypeInfo.XamlTypeInfoProvider(); } return _provider.GetXamlTypeByType(type); } public global::Windows.UI.Xaml.Markup.IXamlType GetXamlType(string fullName) { if(_provider == null) { _provider = new global::Map.Map_XamlTypeInfo.XamlTypeInfoProvider(); } return _provider.GetXamlTypeByName(fullName); } public global::Windows.UI.Xaml.Markup.XmlnsDefinition[] GetXmlnsDefinitions() { return new global::Windows.UI.Xaml.Markup.XmlnsDefinition[0]; } } } namespace Map.Map_XamlTypeInfo { [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks", "4.0.0.0")] [System.Diagnostics.DebuggerNonUserCodeAttribute()] internal partial class XamlTypeInfoProvider { public global::Windows.UI.Xaml.Markup.IXamlType GetXamlTypeByType(global::System.Type type) { global::Windows.UI.Xaml.Markup.IXamlType xamlType; if (_xamlTypeCacheByType.TryGetValue(type, out xamlType)) { return xamlType; } int typeIndex = LookupTypeIndexByType(type); if(typeIndex != -1) { xamlType = CreateXamlType(typeIndex); } if (xamlType != null) { _xamlTypeCacheByName.Add(xamlType.FullName, xamlType); _xamlTypeCacheByType.Add(xamlType.UnderlyingType, xamlType); } return xamlType; } public global::Windows.UI.Xaml.Markup.IXamlType GetXamlTypeByName(string typeName) { if (string.IsNullOrEmpty(typeName)) { return null; } global::Windows.UI.Xaml.Markup.IXamlType xamlType; if (_xamlTypeCacheByName.TryGetValue(typeName, out xamlType)) { return xamlType; } int typeIndex = LookupTypeIndexByName(typeName); if(typeIndex != -1) { xamlType = CreateXamlType(typeIndex); } if (xamlType != null) { _xamlTypeCacheByName.Add(xamlType.FullName, xamlType); _xamlTypeCacheByType.Add(xamlType.UnderlyingType, xamlType); } return xamlType; } public global::Windows.UI.Xaml.Markup.IXamlMember GetMemberByLongName(string longMemberName) { if (string.IsNullOrEmpty(longMemberName)) { return null; } global::Windows.UI.Xaml.Markup.IXamlMember xamlMember; if (_xamlMembers.TryGetValue(longMemberName, out xamlMember)) { return xamlMember; } xamlMember = CreateXamlMember(longMemberName); if (xamlMember != null) { _xamlMembers.Add(longMemberName, xamlMember); } return xamlMember; } global::System.Collections.Generic.Dictionary<string, global::Windows.UI.Xaml.Markup.IXamlType> _xamlTypeCacheByName = new global::System.Collections.Generic.Dictionary<string, global::Windows.UI.Xaml.Markup.IXamlType>(); global::System.Collections.Generic.Dictionary<global::System.Type, global::Windows.UI.Xaml.Markup.IXamlType> _xamlTypeCacheByType = new global::System.Collections.Generic.Dictionary<global::System.Type, global::Windows.UI.Xaml.Markup.IXamlType>(); global::System.Collections.Generic.Dictionary<string, global::Windows.UI.Xaml.Markup.IXamlMember> _xamlMembers = new global::System.Collections.Generic.Dictionary<string, global::Windows.UI.Xaml.Markup.IXamlMember>(); string[] _typeNameTable = null; global::System.Type[] _typeTable = null; private void InitTypeTables() { _typeNameTable = new string[3]; _typeNameTable[0] = "Map.MainPage"; _typeNameTable[1] = "Windows.UI.Xaml.Controls.Page"; _typeNameTable[2] = "Windows.UI.Xaml.Controls.UserControl"; _typeTable = new global::System.Type[3]; _typeTable[0] = typeof(global::Map.MainPage); _typeTable[1] = typeof(global::Windows.UI.Xaml.Controls.Page); _typeTable[2] = typeof(global::Windows.UI.Xaml.Controls.UserControl); } private int LookupTypeIndexByName(string typeName) { if (_typeNameTable == null) { InitTypeTables(); } for (int i=0; i<_typeNameTable.Length; i++) { if(0 == string.CompareOrdinal(_typeNameTable[i], typeName)) { return i; } } return -1; } private int LookupTypeIndexByType(global::System.Type type) { if (_typeTable == null) { InitTypeTables(); } for(int i=0; i<_typeTable.Length; i++) { if(type == _typeTable[i]) { return i; } } return -1; } private object Activate_0_MainPage() { return new global::Map.MainPage(); } private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::Map.Map_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::Map.Map_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // Map.MainPage userType = new global::Map.Map_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_0_MainPage; userType.SetIsLocalType(); xamlType = userType; break; case 1: // Windows.UI.Xaml.Controls.Page xamlType = new global::Map.Map_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::Map.Map_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; } return xamlType; } private global::Windows.UI.Xaml.Markup.IXamlMember CreateXamlMember(string longMemberName) { global::Map.Map_XamlTypeInfo.XamlMember xamlMember = null; // No Local Properties return xamlMember; } } [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks", "4.0.0.0")] [System.Diagnostics.DebuggerNonUserCodeAttribute()] internal class XamlSystemBaseType : global::Windows.UI.Xaml.Markup.IXamlType { string _fullName; global::System.Type _underlyingType; public XamlSystemBaseType(string fullName, global::System.Type underlyingType) { _fullName = fullName; _underlyingType = underlyingType; } public string FullName { get { return _fullName; } } public global::System.Type UnderlyingType { get { return _underlyingType; } } virtual public global::Windows.UI.Xaml.Markup.IXamlType BaseType { get { throw new global::System.NotImplementedException(); } } virtual public global::Windows.UI.Xaml.Markup.IXamlMember ContentProperty { get { throw new global::System.NotImplementedException(); } } virtual public global::Windows.UI.Xaml.Markup.IXamlMember GetMember(string name) { throw new global::System.NotImplementedException(); } virtual public bool IsArray { get { throw new global::System.NotImplementedException(); } } virtual public bool IsCollection { get { throw new global::System.NotImplementedException(); } } virtual public bool IsConstructible { get { throw new global::System.NotImplementedException(); } } virtual public bool IsDictionary { get { throw new global::System.NotImplementedException(); } } virtual public bool IsMarkupExtension { get { throw new global::System.NotImplementedException(); } } virtual public bool IsBindable { get { throw new global::System.NotImplementedException(); } } virtual public bool IsReturnTypeStub { get { throw new global::System.NotImplementedException(); } } virtual public bool IsLocalType { get { throw new global::System.NotImplementedException(); } } virtual public global::Windows.UI.Xaml.Markup.IXamlType ItemType { get { throw new global::System.NotImplementedException(); } } virtual public global::Windows.UI.Xaml.Markup.IXamlType KeyType { get { throw new global::System.NotImplementedException(); } } virtual public object ActivateInstance() { throw new global::System.NotImplementedException(); } virtual public void AddToMap(object instance, object key, object item) { throw new global::System.NotImplementedException(); } virtual public void AddToVector(object instance, object item) { throw new global::System.NotImplementedException(); } virtual public void RunInitializer() { throw new global::System.NotImplementedException(); } virtual public object CreateFromString(string input) { throw new global::System.NotImplementedException(); } } internal delegate object Activator(); internal delegate void AddToCollection(object instance, object item); internal delegate void AddToDictionary(object instance, object key, object item); [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks", "4.0.0.0")] [System.Diagnostics.DebuggerNonUserCodeAttribute()] internal class XamlUserType : global::Map.Map_XamlTypeInfo.XamlSystemBaseType { global::Map.Map_XamlTypeInfo.XamlTypeInfoProvider _provider; global::Windows.UI.Xaml.Markup.IXamlType _baseType; bool _isArray; bool _isMarkupExtension; bool _isBindable; bool _isReturnTypeStub; bool _isLocalType; string _contentPropertyName; string _itemTypeName; string _keyTypeName; global::System.Collections.Generic.Dictionary<string, string> _memberNames; global::System.Collections.Generic.Dictionary<string, object> _enumValues; public XamlUserType(global::Map.Map_XamlTypeInfo.XamlTypeInfoProvider provider, string fullName, global::System.Type fullType, global::Windows.UI.Xaml.Markup.IXamlType baseType) :base(fullName, fullType) { _provider = provider; _baseType = baseType; } // --- Interface methods ---- override public global::Windows.UI.Xaml.Markup.IXamlType BaseType { get { return _baseType; } } override public bool IsArray { get { return _isArray; } } override public bool IsCollection { get { return (CollectionAdd != null); } } override public bool IsConstructible { get { return (Activator != null); } } override public bool IsDictionary { get { return (DictionaryAdd != null); } } override public bool IsMarkupExtension { get { return _isMarkupExtension; } } override public bool IsBindable { get { return _isBindable; } } override public bool IsReturnTypeStub { get { return _isReturnTypeStub; } } override public bool IsLocalType { get { return _isLocalType; } } override public global::Windows.UI.Xaml.Markup.IXamlMember ContentProperty { get { return _provider.GetMemberByLongName(_contentPropertyName); } } override public global::Windows.UI.Xaml.Markup.IXamlType ItemType { get { return _provider.GetXamlTypeByName(_itemTypeName); } } override public global::Windows.UI.Xaml.Markup.IXamlType KeyType { get { return _provider.GetXamlTypeByName(_keyTypeName); } } override public global::Windows.UI.Xaml.Markup.IXamlMember GetMember(string name) { if (_memberNames == null) { return null; } string longName; if (_memberNames.TryGetValue(name, out longName)) { return _provider.GetMemberByLongName(longName); } return null; } override public object ActivateInstance() { return Activator(); } override public void AddToMap(object instance, object key, object item) { DictionaryAdd(instance, key, item); } override public void AddToVector(object instance, object item) { CollectionAdd(instance, item); } override public void RunInitializer() { System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(UnderlyingType.TypeHandle); } override public object CreateFromString(string input) { if (_enumValues != null) { int value = 0; string[] valueParts = input.Split(','); foreach (string valuePart in valueParts) { object partValue; int enumFieldValue = 0; try { if (_enumValues.TryGetValue(valuePart.Trim(), out partValue)) { enumFieldValue = global::System.Convert.ToInt32(partValue); } else { try { enumFieldValue = global::System.Convert.ToInt32(valuePart.Trim()); } catch( global::System.FormatException ) { foreach( string key in _enumValues.Keys ) { if( string.Compare(valuePart.Trim(), key, global::System.StringComparison.OrdinalIgnoreCase) == 0 ) { if( _enumValues.TryGetValue(key.Trim(), out partValue) ) { enumFieldValue = global::System.Convert.ToInt32(partValue); break; } } } } } value |= enumFieldValue; } catch( global::System.FormatException ) { throw new global::System.ArgumentException(input, FullName); } } return value; } throw new global::System.ArgumentException(input, FullName); } // --- End of Interface methods public Activator Activator { get; set; } public AddToCollection CollectionAdd { get; set; } public AddToDictionary DictionaryAdd { get; set; } public void SetContentPropertyName(string contentPropertyName) { _contentPropertyName = contentPropertyName; } public void SetIsArray() { _isArray = true; } public void SetIsMarkupExtension() { _isMarkupExtension = true; } public void SetIsBindable() { _isBindable = true; } public void SetIsReturnTypeStub() { _isReturnTypeStub = true; } public void SetIsLocalType() { _isLocalType = true; } public void SetItemTypeName(string itemTypeName) { _itemTypeName = itemTypeName; } public void SetKeyTypeName(string keyTypeName) { _keyTypeName = keyTypeName; } public void AddMemberName(string shortName) { if(_memberNames == null) { _memberNames = new global::System.Collections.Generic.Dictionary<string,string>(); } _memberNames.Add(shortName, FullName + "." + shortName); } public void AddEnumValue(string name, object value) { if (_enumValues == null) { _enumValues = new global::System.Collections.Generic.Dictionary<string, object>(); } _enumValues.Add(name, value); } } internal delegate object Getter(object instance); internal delegate void Setter(object instance, object value); [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks", "4.0.0.0")] [System.Diagnostics.DebuggerNonUserCodeAttribute()] internal class XamlMember : global::Windows.UI.Xaml.Markup.IXamlMember { global::Map.Map_XamlTypeInfo.XamlTypeInfoProvider _provider; string _name; bool _isAttachable; bool _isDependencyProperty; bool _isReadOnly; string _typeName; string _targetTypeName; public XamlMember(global::Map.Map_XamlTypeInfo.XamlTypeInfoProvider provider, string name, string typeName) { _name = name; _typeName = typeName; _provider = provider; } public string Name { get { return _name; } } public global::Windows.UI.Xaml.Markup.IXamlType Type { get { return _provider.GetXamlTypeByName(_typeName); } } public void SetTargetTypeName(string targetTypeName) { _targetTypeName = targetTypeName; } public global::Windows.UI.Xaml.Markup.IXamlType TargetType { get { return _provider.GetXamlTypeByName(_targetTypeName); } } public void SetIsAttachable() { _isAttachable = true; } public bool IsAttachable { get { return _isAttachable; } } public void SetIsDependencyProperty() { _isDependencyProperty = true; } public bool IsDependencyProperty { get { return _isDependencyProperty; } } public void SetIsReadOnly() { _isReadOnly = true; } public bool IsReadOnly { get { return _isReadOnly; } } public Getter Getter { get; set; } public object GetValue(object instance) { if (Getter != null) return Getter(instance); else throw new global::System.InvalidOperationException("GetValue"); } public Setter Setter { get; set; } public void SetValue(object instance, object value) { if (Setter != null) Setter(instance, value); else throw new global::System.InvalidOperationException("SetValue"); } } }

Map/Map/Package.appxmanifest

Map Nibir Assets\StoreLogo.png 6.3.1 6.3.1

Map/Map/Properties/AssemblyInfo.cs

using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Map")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("Map")] [assembly: AssemblyCopyright("Copyright © 2014")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: ComVisible(false)]