mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
22 lines
604 B
C#
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.");
|
|
}
|
|
}
|
|
}
|