diff --git a/MapControl/Shared/GeoImage.cs b/MapControl/Shared/GeoImage.cs index 28c13475..aee6e78e 100644 --- a/MapControl/Shared/GeoImage.cs +++ b/MapControl/Shared/GeoImage.cs @@ -47,26 +47,6 @@ namespace MapControl LatLonBox = projection != null ? new LatLonBox(projection.MapToBoundingBox(new Rect(p1, p2))) : new LatLonBox(p1.Y, p1.X, p2.Y, p2.X); - -#if DEBUG && NET6_0_OR_GREATER && !AVALONIA - System.Diagnostics.Debug.WriteLine( - string.Create(CultureInfo.InvariantCulture, - $"proj {projection?.CrsId ?? "-"}\n" + - $"SizeX {bitmap.PixelWidth}\n" + - $"SizeY {bitmap.PixelHeight}\n" + - $"M11 {transform.M11}\n" + - $"M22 {transform.M22}\n" + - $"OfsX {transform.OffsetX}\n" + - $"OfsY {transform.OffsetY}\n" + - $"X1 {p1.X}\n" + - $"Y1 {p1.Y}\n" + - $"X2 {p2.X}\n" + - $"Y2 {p2.Y}\n" + - $"West {LatLonBox.West}\n" + - $"South {LatLonBox.South}\n" + - $"East {LatLonBox.East}\n" + - $"North {LatLonBox.North}\n")); -#endif } public BitmapSource BitmapSource { get; }