From 0cdf1b3084cedd77378c20ad9cb634d4a4ba376c Mon Sep 17 00:00:00 2001 From: Roel van den Berg Date: Thu, 16 Sep 2021 11:53:23 +0200 Subject: [PATCH] Legendurl is allowed to be empty. --- pkg/wms130/capabilities.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/wms130/capabilities.go b/pkg/wms130/capabilities.go index dd92197..528266d 100644 --- a/pkg/wms130/capabilities.go +++ b/pkg/wms130/capabilities.go @@ -295,7 +295,7 @@ type Style struct { Name string `xml:"Name" yaml:"name"` Title string `xml:"Title" yaml:"title"` Abstract string `xml:"Abstract,omitempty" yaml:"abstract"` - LegendURL struct { + LegendURL *struct { Width int `xml:"width,attr" yaml:"width"` Height int `xml:"height,attr" yaml:"height"` Format string `xml:"Format" yaml:"format"`