mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 14:37:01 +00:00
Class names in Debug output
This commit is contained in:
parent
84cd6e2f9a
commit
aa6018cf0e
18 changed files with 64 additions and 66 deletions
|
|
@ -13,9 +13,9 @@ namespace MapControl
|
|||
{
|
||||
public partial class GeoImage
|
||||
{
|
||||
private static async Task<GeoBitmap> ReadGeoTiffAsync(string sourcePath)
|
||||
private static Task<GeoBitmap> ReadGeoTiffAsync(string sourcePath)
|
||||
{
|
||||
return await Task.Run(() =>
|
||||
return Task.Run(() =>
|
||||
{
|
||||
var geoBitmap = new GeoBitmap();
|
||||
|
||||
|
|
@ -42,12 +42,12 @@ namespace MapControl
|
|||
}
|
||||
else
|
||||
{
|
||||
throw new ArgumentException($"No coordinate transformation found in {sourcePath}.");
|
||||
throw new ArgumentException("No coordinate transformation found.");
|
||||
}
|
||||
|
||||
if (metadata.GetQuery(QueryString(GeoKeyDirectoryTag)) is short[] geoKeyDirectory)
|
||||
{
|
||||
geoBitmap.Projection = GetProjection(sourcePath, geoKeyDirectory);
|
||||
geoBitmap.Projection = GetProjection(geoKeyDirectory);
|
||||
}
|
||||
|
||||
if (metadata.GetQuery(QueryString(NoDataTag)) is string noData &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue