mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-08 16:05:50 +00:00
Improved Task usage
This commit is contained in:
parent
4e753ae718
commit
71c435c323
2 changed files with 5 additions and 4 deletions
|
|
@ -107,8 +107,8 @@ namespace MapControl
|
|||
|
||||
protected virtual FrameworkElement CreateOverlay(string sourcePath)
|
||||
{
|
||||
var ext = Path.GetExtension(sourcePath).ToLower();
|
||||
FrameworkElement overlay;
|
||||
var ext = Path.GetExtension(sourcePath).ToLower();
|
||||
|
||||
try
|
||||
{
|
||||
|
|
@ -124,6 +124,7 @@ namespace MapControl
|
|||
catch (Exception ex)
|
||||
{
|
||||
Debug.WriteLine($"MapOverlaysControl: {sourcePath}: {ex.Message}");
|
||||
|
||||
overlay = new MapPanel();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue