mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-20 22:05:07 +00:00
Update GeoImage.cs
This commit is contained in:
parent
c23d35d513
commit
febb6d6b00
1 changed files with 3 additions and 3 deletions
|
|
@ -35,9 +35,6 @@ namespace MapControl
|
||||||
{
|
{
|
||||||
private partial class GeoBitmap
|
private partial class GeoBitmap
|
||||||
{
|
{
|
||||||
public BitmapSource BitmapSource { get; }
|
|
||||||
public LatLonBox LatLonBox { get; }
|
|
||||||
|
|
||||||
public GeoBitmap(BitmapSource bitmapSource, Matrix transform, MapProjection projection)
|
public GeoBitmap(BitmapSource bitmapSource, Matrix transform, MapProjection projection)
|
||||||
{
|
{
|
||||||
BitmapSource = bitmapSource;
|
BitmapSource = bitmapSource;
|
||||||
|
|
@ -49,6 +46,9 @@ namespace MapControl
|
||||||
? 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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public BitmapSource BitmapSource { get; }
|
||||||
|
public LatLonBox LatLonBox { get; }
|
||||||
}
|
}
|
||||||
|
|
||||||
private const ushort ProjectedCRSGeoKey = 3072;
|
private const ushort ProjectedCRSGeoKey = 3072;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue