mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-04 14:08:32 +00:00
Version 4.12.2 Fixed local file handling for UWP. All relative paths relative to ms-appx:
This commit is contained in:
parent
26bf0b5005
commit
c28387f87c
14 changed files with 172 additions and 192 deletions
|
|
@ -5,6 +5,7 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Threading.Tasks;
|
||||
#if WINDOWS_UWP
|
||||
using SQLiteCommand = Microsoft.Data.Sqlite.SqliteCommand;
|
||||
|
|
@ -21,7 +22,7 @@ namespace MapControl.MBTiles
|
|||
|
||||
public MBTileData(string file)
|
||||
{
|
||||
connection = new SQLiteConnection("Data Source=" + file);
|
||||
connection = new SQLiteConnection("Data Source=" + Path.GetFullPath(file));
|
||||
}
|
||||
|
||||
public Task OpenAsync()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue