mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Update GeoImage.cs
This commit is contained in:
parent
e520245d45
commit
b6144d7c2f
|
|
@ -47,26 +47,6 @@ namespace MapControl
|
||||||
LatLonBox = projection != null
|
LatLonBox = projection != null
|
||||||
? new LatLonBox(projection.MapToBoundingBox(new Rect(p1, p2)))
|
? new LatLonBox(projection.MapToBoundingBox(new Rect(p1, p2)))
|
||||||
: new LatLonBox(p1.Y, p1.X, p2.Y, p2.X);
|
: 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; }
|
public BitmapSource BitmapSource { get; }
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue