mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 14:37:01 +00:00
Use Async method name suffix consistently
This commit is contained in:
parent
f3aad38814
commit
adc34b6591
9 changed files with 29 additions and 28 deletions
|
|
@ -86,13 +86,13 @@ namespace MapControl
|
|||
|
||||
if (File.Exists(worldFilePath))
|
||||
{
|
||||
geoBitmap = await ReadWorldFileImage(sourcePath, worldFilePath);
|
||||
geoBitmap = await ReadWorldFileImageAsync(sourcePath, worldFilePath);
|
||||
}
|
||||
}
|
||||
|
||||
if (geoBitmap == null)
|
||||
{
|
||||
geoBitmap = await ReadGeoTiff(sourcePath);
|
||||
geoBitmap = await ReadGeoTiffAsync(sourcePath);
|
||||
}
|
||||
|
||||
image = new Image
|
||||
|
|
@ -136,7 +136,7 @@ namespace MapControl
|
|||
MapPanel.SetBoundingBox(this, boundingBox);
|
||||
}
|
||||
|
||||
private static async Task<GeoBitmap> ReadWorldFileImage(string sourcePath, string worldFilePath)
|
||||
private static async Task<GeoBitmap> ReadWorldFileImageAsync(string sourcePath, string worldFilePath)
|
||||
{
|
||||
var bitmap = (BitmapSource)await ImageLoader.LoadImageAsync(sourcePath);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue