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
c23d35d513
commit
febb6d6b00
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue