I'm making windows C#(WPF) mapControl on intranet(no internet). (Windows Server)
I get OSM.pbf and mbtiles file.
Is this possible? Please, Look at this picture.
private void button6_Click(object sender, EventArgs e)
{
TileAsyncLayer osmLayer = new TileAsyncLayer(KnownTileSources.Create(KnownTileSource.OpenStreetMap),
"TileLayer - OSM");
this.mapBox1.Map.BackgroundLayer.Clear();
this.mapBox1.Map.BackgroundLayer.Add(osmLayer);
this.mapBox1.Refresh();
}