mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-02-20 14:44:56 +01:00
Update MapsforgeTileSource.cs
This commit is contained in:
parent
e6cf5e4037
commit
a1df4d39bb
|
|
@ -1,7 +1,6 @@
|
|||
using Microsoft.Extensions.Logging;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Threading.Tasks;
|
||||
#if WPF
|
||||
|
|
@ -49,11 +48,8 @@ namespace MapControl.MapsforgeTiles
|
|||
|
||||
try
|
||||
{
|
||||
var sw = Stopwatch.StartNew();
|
||||
var pixels = renderer.RenderTile(zoomLevel, column, row);
|
||||
|
||||
Debug.WriteLine(sw.ElapsedMilliseconds);
|
||||
|
||||
if (pixels != null)
|
||||
{
|
||||
image = CreateImage(pixels);
|
||||
|
|
|
|||
Loading…
Reference in a new issue