mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Update MBTileSource.cs
This commit is contained in:
parent
d1efb9f343
commit
5b48fa336e
|
|
@ -34,16 +34,6 @@ namespace MapControl.MBTiles
|
|||
|
||||
await connection.OpenAsync();
|
||||
|
||||
using (var command = new SQLiteCommand("create table if not exists metadata (name string, value string)", connection))
|
||||
{
|
||||
await command.ExecuteNonQueryAsync();
|
||||
}
|
||||
|
||||
using (var command = new SQLiteCommand("create table if not exists tiles (zoom_level integer, tile_column integer, tile_row integer, tile_data blob)", connection))
|
||||
{
|
||||
await command.ExecuteNonQueryAsync();
|
||||
}
|
||||
|
||||
using (var command = new SQLiteCommand("select * from metadata", connection))
|
||||
{
|
||||
var reader = await command.ExecuteReaderAsync();
|
||||
|
|
|
|||
Loading…
Reference in a new issue