mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-04 14:08:32 +00:00
GeoImage implementation
This commit is contained in:
parent
07849eb1d8
commit
3468940ebf
6 changed files with 87 additions and 110 deletions
|
|
@ -7,15 +7,11 @@ using System.Threading.Tasks;
|
|||
|
||||
namespace MapControl
|
||||
{
|
||||
public partial class GeoImage : Image
|
||||
public partial class GeoImage
|
||||
{
|
||||
private void SetImage(ImageSource image)
|
||||
{
|
||||
Source = image;
|
||||
Stretch = Stretch.Fill;
|
||||
}
|
||||
private Point BitmapSize => new(bitmapSource.PixelSize.Width, bitmapSource.PixelSize.Height);
|
||||
|
||||
private static Task<GeoBitmap> ReadGeoTiffAsync(string sourcePath)
|
||||
private Task LoadGeoTiffAsync(string sourcePath)
|
||||
{
|
||||
throw new InvalidOperationException("GeoTIFF is not supported.");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue