From febb6d6b00caf73373c8c4780a9acb11fd697a27 Mon Sep 17 00:00:00 2001 From: ClemensFischer Date: Fri, 13 Sep 2024 23:52:17 +0200 Subject: [PATCH] Update GeoImage.cs --- MapControl/Shared/GeoImage.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MapControl/Shared/GeoImage.cs b/MapControl/Shared/GeoImage.cs index 577bc2d9..503d18b0 100644 --- a/MapControl/Shared/GeoImage.cs +++ b/MapControl/Shared/GeoImage.cs @@ -35,9 +35,6 @@ namespace MapControl { private partial class GeoBitmap { - public BitmapSource BitmapSource { get; } - public LatLonBox LatLonBox { get; } - public GeoBitmap(BitmapSource bitmapSource, Matrix transform, MapProjection projection) { BitmapSource = bitmapSource; @@ -49,6 +46,9 @@ namespace MapControl ? new LatLonBox(projection.MapToBoundingBox(new Rect(p1, p2))) : new LatLonBox(p1.Y, p1.X, p2.Y, p2.X); } + + public BitmapSource BitmapSource { get; } + public LatLonBox LatLonBox { get; } } private const ushort ProjectedCRSGeoKey = 3072;