2024-09-01 23:57:47 +02:00
|
|
|
|
// XAML Map Control - https://github.com/ClemensFischer/XAML-Map-Control
|
|
|
|
|
|
// Copyright © 2024 Clemens Fischer
|
|
|
|
|
|
// Licensed under the Microsoft Public License (Ms-PL)
|
|
|
|
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
|
|
namespace MapControl
|
|
|
|
|
|
{
|
2024-09-02 15:49:53 +02:00
|
|
|
|
public partial class GeoImage
|
2024-09-01 23:57:47 +02:00
|
|
|
|
{
|
2024-09-02 15:49:53 +02:00
|
|
|
|
private Point BitmapSize => new(bitmapSource.PixelSize.Width, bitmapSource.PixelSize.Height);
|
2024-09-01 23:57:47 +02:00
|
|
|
|
|
2024-09-06 23:50:59 +02:00
|
|
|
|
private ImageBrush ImageBrush => new(bitmapSource);
|
|
|
|
|
|
|
2024-09-02 15:49:53 +02:00
|
|
|
|
private Task LoadGeoTiffAsync(string sourcePath)
|
2024-09-01 23:57:47 +02:00
|
|
|
|
{
|
|
|
|
|
|
throw new InvalidOperationException("GeoTIFF is not supported.");
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|