mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 22:46:58 +00:00
Private async method names
This commit is contained in:
parent
4335457c54
commit
caf47209a3
10 changed files with 23 additions and 23 deletions
|
|
@ -75,11 +75,11 @@ namespace MapControl
|
|||
|
||||
if (ext == ".kmz")
|
||||
{
|
||||
imageOverlays = await LoadGroundOverlaysFromArchiveAsync(sourcePath);
|
||||
imageOverlays = await LoadGroundOverlaysFromArchive(sourcePath);
|
||||
}
|
||||
else if (ext == ".kml")
|
||||
{
|
||||
imageOverlays = await LoadGroundOverlaysFromFileAsync(sourcePath);
|
||||
imageOverlays = await LoadGroundOverlaysFromFile(sourcePath);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
|
@ -107,7 +107,7 @@ namespace MapControl
|
|||
}
|
||||
}
|
||||
|
||||
private static async Task<IEnumerable<ImageOverlay>> LoadGroundOverlaysFromArchiveAsync(string archiveFilePath)
|
||||
private static async Task<IEnumerable<ImageOverlay>> LoadGroundOverlaysFromArchive(string archiveFilePath)
|
||||
{
|
||||
using (var archive = ZipFile.OpenRead(archiveFilePath))
|
||||
{
|
||||
|
|
@ -150,7 +150,7 @@ namespace MapControl
|
|||
}
|
||||
}
|
||||
|
||||
private static async Task<IEnumerable<ImageOverlay>> LoadGroundOverlaysFromFileAsync(string docFilePath)
|
||||
private static async Task<IEnumerable<ImageOverlay>> LoadGroundOverlaysFromFile(string docFilePath)
|
||||
{
|
||||
docFilePath = FilePath.GetFullPath(docFilePath);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue