mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-04 14:08:32 +00:00
GeoImage and GroundOverlay implementation
This commit is contained in:
parent
febb6d6b00
commit
b22ee9a60f
5 changed files with 25 additions and 38 deletions
|
|
@ -6,7 +6,6 @@ using System;
|
|||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
|
||||
|
|
@ -14,13 +13,6 @@ namespace MapControl
|
|||
{
|
||||
public static partial class GeoImage
|
||||
{
|
||||
private partial class GeoBitmap
|
||||
{
|
||||
public Point BitmapSize => new Point(BitmapSource.PixelWidth, BitmapSource.PixelHeight);
|
||||
|
||||
public ImageBrush ImageBrush => new ImageBrush(BitmapSource);
|
||||
}
|
||||
|
||||
private static Task<GeoBitmap> LoadGeoTiffAsync(string sourcePath)
|
||||
{
|
||||
return Task.Run(() =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue