Update WmsImageLayer.cs

This commit is contained in:
ClemensF 2020-04-26 12:30:26 +02:00
parent 4542c37a3d
commit 4d9f19dd5a

View file

@ -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")));
} }