mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-06 06:55:04 +00:00
Async naming convention
This commit is contained in:
parent
2a4de62c45
commit
8948af0723
7 changed files with 37 additions and 37 deletions
|
|
@ -136,7 +136,7 @@ namespace MapControl
|
|||
{
|
||||
return new GeoBitmap(
|
||||
(BitmapSource)await ImageLoader.LoadImageAsync(sourcePath),
|
||||
await ReadWorldFileMatrix(worldFilePath),
|
||||
await ReadWorldFileMatrixAsync(worldFilePath),
|
||||
null);
|
||||
}
|
||||
}
|
||||
|
|
@ -144,7 +144,7 @@ namespace MapControl
|
|||
return await LoadGeoTiffAsync(sourcePath);
|
||||
}
|
||||
|
||||
private static async Task<Matrix> ReadWorldFileMatrix(string worldFilePath)
|
||||
private static async Task<Matrix> ReadWorldFileMatrixAsync(string worldFilePath)
|
||||
{
|
||||
using (var fileStream = File.OpenRead(worldFilePath))
|
||||
using (var streamReader = new StreamReader(fileStream))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue