Update GeoImage.cs

This commit is contained in:
ClemensFischer 2025-09-05 18:32:51 +02:00
parent e520245d45
commit b6144d7c2f

View file

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