mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Update MainWindow.xaml.cs
This commit is contained in:
parent
0efdbc70a0
commit
5b37875e9e
|
|
@ -13,16 +13,14 @@ namespace SampleApplication
|
||||||
{
|
{
|
||||||
public sealed partial class MainWindow : Window
|
public sealed partial class MainWindow : Window
|
||||||
{
|
{
|
||||||
static MainWindow()
|
|
||||||
{
|
|
||||||
//MapProjectionFactory.Instance = new MapControl.Projections.GeoApiProjectionFactory();
|
|
||||||
//TileImageLoader.Cache = new MapControl.Caching.ImageFileCache(TileImageLoader.DefaultCacheFolder);
|
|
||||||
}
|
|
||||||
|
|
||||||
public MainWindow()
|
public MainWindow()
|
||||||
{
|
{
|
||||||
|
//TileImageLoader.Cache = new MapControl.Caching.ImageFileCache(TileImageLoader.DefaultCacheFolder);
|
||||||
|
//Closed += (s, e) => (TileImageLoader.Cache as IDisposable)?.Dispose();
|
||||||
|
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
AddTestLayers();
|
AddTestLayers();
|
||||||
|
|
||||||
Title = "XAML Map Control - WinUI Sample Application";
|
Title = "XAML Map Control - WinUI Sample Application";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue