XAML-Map-Control/MapControl/Avalonia/GeoImage.Avalonia.cs
2024-09-06 23:50:59 +02:00

22 lines
604 B
C#

// 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
{
public partial class GeoImage
{
private Point BitmapSize => new(bitmapSource.PixelSize.Width, bitmapSource.PixelSize.Height);
private ImageBrush ImageBrush => new(bitmapSource);
private Task LoadGeoTiffAsync(string sourcePath)
{
throw new InvalidOperationException("GeoTIFF is not supported.");
}
}
}