Update WmsImageLayer.cs

This commit is contained in:
Clemens 2022-08-18 22:30:44 +02:00
parent 1c87b0327e
commit c9316bee74

View file

@ -282,7 +282,7 @@ namespace MapControl
if (i >= 0)
{
i += 7;
i += "LAYERS=".Length;
var j = uri.IndexOf('&', i);
var layers = j >= i ? uri.Substring(i, j - i) : uri.Substring(i);
uri += "&QUERY_LAYERS=" + layers;