Update MapsforgeTileSource.cs

This commit is contained in:
ClemensFischer 2026-02-18 20:16:24 +01:00
parent e6cf5e4037
commit a1df4d39bb

View file

@ -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);