mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-03-30 18:15:26 +02:00
Update WmsImageLayer.cs
This commit is contained in:
parent
4542c37a3d
commit
4d9f19dd5a
|
|
@ -126,7 +126,7 @@ namespace MapControl
|
||||||
|
|
||||||
var uri = GetImageUri();
|
var uri = GetImageUri();
|
||||||
|
|
||||||
if (uri != null)
|
if (!string.IsNullOrEmpty(uri))
|
||||||
{
|
{
|
||||||
image = await ImageLoader.LoadImageAsync(new Uri(uri.Replace(" ", "%20")));
|
image = await ImageLoader.LoadImageAsync(new Uri(uri.Replace(" ", "%20")));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue